How to configure iptables on Linux Mint 17.1?
Posted on In QAHow to configure iptables and make the configuration persistent across system restarting on Linux Mint 17.1?
You can use the ‘iptables-persistent’ tool.
To install iptables-persistency pachage:
sudo aptitude install iptables-persistent
The you can manipulate the iptables by the ‘iptables’ command.
To save the current iptables rules:
sudo /etc/init.d/iptables-persistent store
It will store the rules for ipv4 and ipv6 in
/etc/iptables/rules.v4
/etc/iptables/rules.v6
respectively.
It will load the rules from these files during booting the system.