# general_table

created_at: 2026-05-21 17:36:54
updated_at: 2026-05-21 17:40:37
session_password:
  15FD483EAC73FD18D405CADC1050C643CD818D07A03BB3B23CA98FEB7FE8414B54642436CA62C89E6E8E547F628A04E851DF8B7683DCA9E8B0250F44747E02CD4867218F98CA5A56AE6461339A811D0D6BA506EC1D116A1F961B3953C543AAB4C7C3C0D6484457808903229044D7B596F2C32B6D1C379D5990E7308733633325487E092B0BD46341330FA93C7259B367F17EEBD216ADD26ABC553A4AF6B9C754F702022902F3A3C30F08094202AD1487C50B7387FEC1900891B56A1D1482D4B2C90AEF156D25C80C4593AD37D16E56F0616AE5DA66BF0ACAF8403675AFC075AD35EB6F34A8B020DEA6060D930A2EB1A04FFD0ED6C3DD2EBD971ED8057848FE8B


# hooks_table

id: wg0
created_at: 2026-05-21 17:36:54
updated_at: 2026-05-21 17:36:54
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;


