Firewall

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: der.hansPLUGd@LuftHans.com
Date:  
Subject: Firewall
Am 22. Feb, 2001 schwäzte cj so:

> 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.


Sounds like you just need to add a line for your script to the rc.local
file.

/the/path/to/my/script/firewallscript

e.g. path, then command name.

ciao,

der.hans
-- 
#     home.pages.de/~lufthans/   www.YourCompanyHere.net ;-)
# HERE LIES LESTER MOORE
# SHOT 4 TIMES WITH A .44
# NO LES
# NO MOORE
#        -- tombstone, in Tombstone, AZ