This is a discussion on Firewall Question within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> I was wondering how to execute /etc/rc.d/rc.sfirewall automaticaly when my ppp0 connects. The problem is that when it disconnects, ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I was wondering how to execute /etc/rc.d/rc.sfirewall automaticaly when my ppp0 connects. The problem is that when it disconnects, it automatically reconnects, but i need to load that script to access the internet any help would be great thanks Brian |
| ||||
| brian wrote: > I was wondering how to execute /etc/rc.d/rc.sfirewall automaticaly when > my ppp0 connects. > The problem is that when it disconnects, it automatically reconnects, > but i need to load that script to access the internet > any help would be great > thanks > Brian Hi Brian. Search inside /etc/rc.d/rc.inet2 file for this lines: if [ -x /etc/rc.d/rc.firewall ]; then /etc/rc.d/rc.firewall start fi Uncomment it and it will work. You should call the script from rc.inet2 because the script should always run after all network cards have started (rc.inet1). Be sure that your script name match with the lines above (rc.firewall) and you have execution permissions (chmod 755 rc.firewall). I hope this could help. Regards, Nuno Paquete |