Firewall

Carl Parrish carl@carlparrish.com
Fri, 23 Feb 2001 13:29:43 -0700 (MST)


Why would you ever have to reboot?? (sorry for the wise ass remark just
couldn't resist.) <g>



On Thu, 22 Feb 2001, cj wrote:

> I hope this question isn't beneath PLUG's members, but I'm still pretty newbie. I'm running the 2.4.0 kernel on Slackware 7.1. I'm trying to set up iptables as a firewall and have compiled all the modules into the kernel. I have a pretty good script (got it off the Web), but I can't figure out how to get it to run. If I type all the commands in the shell, they work fine, but when I reboot for any reason, they're gone; obviously, iptables works just fine. Slackware uses /etc/rc.d/rc.local to run scripts just before or after going multiuser so I'd only be exposed fo a few seconds and have no other services (that I'm aware of) running; I've already shut down everything in inetd.conf. That being said, I don't know how to shell script in rc.local so I can call up my firewall script. Any help would be greatly appreciated. Thanks.
> 
> CJ
> 

Carl Parrish
webmaster
www.carlparrish.com