Files
Arch-R/packages/network/iptables/config/README
Radostan Riedel e71646a79f iptables: Add default net filters
Default: Only allow private subnets
Don't overwrite rules from docker or connman
Option to turn on/off through LE Settings addon
2017-12-18 09:25:09 +01:00

18 lines
431 B
Plaintext

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