Skip to main content

Knoppix Firewall Help

More
20 years 5 months ago #3884 by bklynjames
Im looking to setup a(Hard Drive installed) knoppix firewall(Iptables) box. I was wondering if anyone could help me out, possibly a how-to.

I have a Compaq deskpro 333 mhz pentium 2, with 128 mg ram, and dual homed nic card. I have the iptables script to run, but I do not see any iptables directory.

Would I be able to create an iptables dir in the appropiate directory and which directory should it be???

Any help would be greatly appreciated, and thankx in advance...
More
20 years 5 months ago #3904 by sahirh
Replied by sahirh on topic Re: Knoppix Firewall Help
You don't need a separate directory to run iptables.. I suppose you want the script to start at boot-time right ? Well all you have to do is put it in /etc/rc.d

or in rcX.d where X is whatever runlevel you want the script to start with.

Dont forget to start the script with
#!/bin/sh

and change its permissions to execute
chmod 700 <name of file>


Hang in there mate, Chris and I are working on the definitive iptables tutorial to ever hit the net. When its done it will teach you how to do anything from building a simple personal firewall using iptables, to a fully NAT-ed, corporate firewall with a DMZ etc.

Cheers,

Sahir Hidayatullah.
Firewall.cx Staff - Associate Editor & Security Advisor
tftfotw.blogspot.com
Time to create page: 0.113 seconds