completetech
Guru
- Joined
- Apr 17, 2009
- Messages
- 829
- Reaction score
- 9
You're going to need to add sleep 10 && /usr/local/sbin/iptables-restart AFTER the network is restarted, or you won't have a functioning firewall. Be sure to check it with iptables -nL to be sure.
So the /etc/rc.local should look like this then if on Wable?
Code:
touch /var/lock/subsys/local
/usr/local/sbin/iptables-restart
sleep 10 && /usr/local/sbin/iptables-restart
exit 0