How to configure iptables on Linux Mint 17.1?

How to configure iptables and make the configuration persistent across system restarting on Linux Mint 17.1?

asked Dec 29, 2014 by Eric Z Ma (44,280 points)

1 Answer

Best answer

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



It will load the rules from these files during booting the system.

answered Dec 30, 2014 by Eric Z Ma (44,280 points)

Please log in or register to answer this question.

Copyright © SysTutorials. User contributions licensed under cc-wiki with attribution required.
Hosted on Dreamhost