How to configure iptables on Linux Mint 17.1?

Posted on

How 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.

Eric Ma

Eric is a systems guy. Eric is interested in building high-performance and scalable distributed systems and related technologies. The views or opinions expressed here are solely Eric's own and do not necessarily represent those of any third parties.

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts