|
I'd just like to add a few things.
When your server reboots, iptables is flushed. So you may want to do the following. To backup your iptables:
/sbin/iptables-save -c > /iptables-backup.txt
Then, to restore after server reboot:
/sbin/iptables-restore -c < /iptables-backup.txt
You can add the restore line to your rc.local script to automate it.
|