ip-tables is a firewall implemented by default in many Linux distributions. However, by default, ip-table rules are not persistent - that is, rules will not survive reboots etc.
Below is one method for saving / restoring and making implemented ip-table rules persistent on several popular distributions of Linux.
Making iptables rules persistent
iptables-persistent and the
To save current iptable rules to these files, run the following:
Any ip-table rules added to below files will be persistent (on reboots etc.):
You can reload from these files with to ip-tables by:
netfilter-persistent package has the actual init.d service which reloads the last saved iptables configuration. So, once saved (see above) start and enable the service by:
There is no content with the specified labels