5815b45ed0
Use the iptables-persistent package to implement persistence of iptables during a reboot for Ubuntu and Debian. Entries are saved to /etc/iptables/rules* on add-rule. These entries are restored on reboot. ( Note in later versions iptables-persistent is replaced by netfilter-persistent with plugins in iptables-persistent) Change-Id: I44b625111d5db34a444c5aa4f6e31c6009c8a6f5 |
||
---|---|---|
.. | ||
bin | ||
install.d | ||
README.md |
##iptables
This element installs a single script that consolidates the logic required to handle inserting iptables rules. This script uses the check (-C) argument to check whether a rule matching the specification does exist in the selected chain before inserting it.
RULE: The rule to insert into iptables