-
IP masquerading
Is it possible to use the Knoppix for IP-masquerading using the ipfwadm?
According to my experience it is not:
root@ttyp1[/]# ipfwadm
Generic IP Firewall Chains not in this kernel
BUT, I am a greenhorn in Linux, so it may be my fault.
Where is the truth?
Thank You
-
Senior Member
registered user
That command doesn't work for me either. I have an ipchains based Linux router that I use for ipmasquerading/DHCP server. Before i built the router I used a very easy to configure program called firestarter.
Here is their homepage so you can see what you're getting and read the manual.
http://firestarter.sourceforge.net/index.php
Knoppix 3.2 has iptables installed already. You will however have one dependency. So.............If you want to share your internet connection AND get a firewall at the same time do this in a terminal:
su
<password>
apt-get install libpanel-applet0
apt-get install firestarter
firestarter
In case you are unaware 'libpanel-applet0' is the dependency mentioned above.
That should get you some ipmasquerading action and get you shored up security wise at the same time.
-
Senior Member
registered user
First you'll have to load the ipchains module:
modprobe ipchains
then you'll have to configure ipchains, are you running a hd install or from cd?
If you are running from a hd install I'd look into the shorewall package (also shorewall-doc).
rock
-
Well, thats weird, i just setup this today. You have to use iptables now.
I have a dialup connection that i'm using and installed copy of knoppix as a router, and a squid caching server.
here is the line that will do masquerading
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
you will also need to turn on forwarding (very important)
echo 1 > /proc/sys/net/ipv4/ip_forward
replace ppp0 with the port you want to nat to. I'm using dial up so i want to masq to my dialup connection
enjoy!
-
thank you
this one with iptables works.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

WD Blue 3D NAND 1TB 2.5" SATA Solid State Drive WDBNCE0010PNC-WRSN 99% HEALTH
$80.00

Dell Latitude 14" Laptop Computer Intel i7 Up To 32GB RAM 1TB SSD Windows 11 Pro
$429.73

Western Digital 1TB 3.5" SATA III 7200RPM Desktop Hard Drive
$29.99

Dell Latitude 14" Laptop Computer Intel i5 Up To 32GB RAM 1TB SSD Windows 11 Pro
$375.05

Seagate ST1000VM002 1TB 5900RPM 3.5" SATA 6GB/s HDD Video Hard Drive PC DVR
$24.99

Acer Aspire 14" AI Copilot+PC Laptop Core Ultra 5 226V Gen 4 ARC 16GB 1TB Refurb
$438.51

Acer Aspire 16 16" Laptop Core Ultra 5 226V S2 16GB RAM 1TB SSD Arc Refurbished
$533.51

Netac 2TB 1TB 500GB Internal SSD M.2 NVMe PCIe3.0 Solid State Drive lot
$129.99

Samsung T7 Shield 1TB Portable External SSD USB 3.2 Black MU-PE1T0S NEW SEALED
$219.99

Dell Latitude 15.6” FHD Core i5 Laptop PC Up To 32GB RAM 1TB SSD Windows 11
$422.85