-
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

HPE ProLiant MicroServer Gen10 Plus with Power Adapter
$599.00

HP ProLiant MicroServer Gen8 Tower Server Xeon E3-1220 v2 2.3GHz 16GB RAM
$289.99

HP Proliant MicroServer Gen 8 2.23GHz Xeon 16GB RAM NO SSD
$249.99

Supermicro E300-12C Mini 1U Barebone X12SCV-LVDS LGA1200 SNK-P0073A4 w/ Adapter
$225.00

Supermicro SYS-6048R-E1CR36N 36B LFF 4U Server -V3- Choose CPUs/RAM - Wholesale
$4572.00

Supermicro 5019D-4C-FN8TP Xeon D-2123IT (4C/8T) 64GB DDR4 10GbE 480GB 1U Server
$649.00

New Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G
$449.99

LOT OF 24 | Micron MTA36ASF4G72PZ-3G2J3 32GB DDR4 3200MHz ECC Server RAM Memory
$4999.99

New Supermicro SuperServer E50-9AP-Wifi Mini PC Server
$175.00

Supermicro 938-16 16-LFF MicroCloud SuperServer 5038MR-H8TRF *No Blade Servers*
$159.99