using a script at startup
I am trying to follow the info on Getting IPTables to survive a reboot
eveything works untill I reboot but the script does not run when linux starts.
The article says to create a script so ifupdown loads these rules on boot:
it put what I think is a symlink in if-upd but iptables still does not survive reboot.
echo "#!/bin/sh" > /etc/network/if-up.d/iptables
echo "iptables-restore < /etc/firewall.conf" >> /etc/network/if-up.d/iptables
chmod +x /etc/network/if-up.d/iptables
What am I doing wrong.