# general_table

created_at: 2026-01-17 23:54:46
updated_at: 2026-01-17 23:56:26
session_password:
  47FEAD30DFD659360C33593A5C106B8397065645FBCD3DD6B39463BF4C58538D69FE22215DF92FDDD4FD2DE6ACB6993B9A31CF9131478C12A2B8861AD9044D9E9F081715A6E0CF3A71452BDD572C9F194A36C4ED95196C7B235BE1A877C0982C7752D1337C6F903AF213312B88B58F5568BAA1012CA2CE423C26F7D03CEA87E38870F392C03AA8096914EB537AE9C2DE4BB08F576ECF09873236BBB2EA9F6F99F9EB0EE9750834EEF9C31109ECBF6761F13E9C12250C4751A5307567D6C8545FF8FEA0FE2F59059AC60AD890D27A99113CD8597D5365C8FB323B96291BEA2EA89C84F0B11A98D5A6FA3423171C4DD6276B307FF1FB503372593752A9C15E2EE1


# hooks_table

id: wg0
created_at: 2026-01-17 23:54:46
updated_at: 2026-01-17 23:54:46
post_up:
  iptables -t nat -A POSTROUTING -s {{ipv4Cidr}} -o {{device}} -j MASQUERADE; iptables -A INPUT -p udp -m udp --dport {{port}} -j ACCEPT; iptables -A FORWARD -i wg0 -j ACCEPT; iptables -A FORWARD -o wg0 -j ACCEPT; ip6tables -t nat -A POSTROUTING -s {{ipv6Cidr}} -o {{device}} -j MASQUERADE; ip6tables -A INPUT -p udp -m udp --dport {{port}} -j ACCEPT; ip6tables -A FORWARD -i wg0 -j ACCEPT; ip6tables -A FORWARD -o wg0 -j ACCEPT;

post_down:
  iptables -t nat -D POSTROUTING -s {{ipv4Cidr}} -o {{device}} -j MASQUERADE; iptables -D INPUT -p udp -m udp --dport {{port}} -j ACCEPT; iptables -D FORWARD -i wg0 -j ACCEPT; iptables -D FORWARD -o wg0 -j ACCEPT; ip6tables -t nat -D POSTROUTING -s {{ipv6Cidr}} -o {{device}} -j MASQUERADE; ip6tables -D INPUT -p udp -m udp --dport {{port}} -j ACCEPT; ip6tables -D FORWARD -i wg0 -j ACCEPT; ip6tables -D FORWARD -o wg0 -j ACCEPT;


