mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
18 lines
433 B
Plaintext
18 lines
433 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
|