distribution/packages/network/iptables/config/README
2022-02-05 09:23:32 -05:00

17 lines
433 B
Text

To create your own set of Netfilters you can save your rules in:
/storage/.config/iptables/rules.v4 for ipv4
/storage/.config/iptables/rules.v6 for ipv6
To modify tables, edit with nano then save with:
iptables-save >/storage/.config/iptables/rules.v4
ip6tables-save >/storage/.config/iptables/rules.v6
To disable iptables use the following command:
systemctl mask iptables
To enable iptables again:
systemctl unmask iptables