- Copy the file iptables.sh in the directory /etc/init.d with these rules (but obviously you need to customize them).
- Make the file executable.
- Assuming the current run level is the second one:ln -s /etc/init.d/iptables.sh /etc/rc2.d/S97iptables
Actually you should link the script in any runlevel to cover the case you change runlevel, even temporary.
******************************************************************
******************************************************************
Useful Commands:
List of active rules:
iptables -L
Removes all the rules
iptables -F
