How to run iptables automatically after reboot on Debian
# iptables-save > /etc/firewall.conf
# vi /etc/network/if-up.d/iptables
#!/bin/sh
iptables-restore < /etc/firewall.conf
# chmod +x /etc/network/if-up.d/iptables
# iptables-save > /etc/firewall.conf
# vi /etc/network/if-up.d/iptables
#!/bin/sh
iptables-restore < /etc/firewall.conf
# chmod +x /etc/network/if-up.d/iptables