Iptables – Saving Firewall Rules Permanently on Ubuntu/Debian
there is a package named “iptables-persistent” that will automatically load firewall rules on startup, these rules must be saved in a File, /etc/iptables/rules.v4 for IPv4 and /etc/iptables/rules.v6 for IPv6. Installation apt-get install iptables-persistent...