-
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

Lot of 500 Cisco 10-3145-02 QSFP-100G-CWDM4-S 100G CWDM4 QSFP28 Transceiver
$1500.00

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch
$129.99

Cisco Catalyst C9130AXI-B WiFi 6 802.11ax Wireless Access Point Brand New
$101.99

Cisco Catalyst C9120AXI-B Wi-Fi 6 Access Points
$36.00

Cisco C9300-48UXM-A Switch 9300 Series 48-port UPoE Network
$874.99

Cisco Catalyst 9300 4 x 1GE Network Module (C9300-NM-4G=)
$210.00

Cisco C9200L Catalyst 48-Port PoE+ Switch Network Essentials C9200L-48P-4G-E
$2490.00

Cisco | N3K-C3232C | 32-Port 100G QSFP Network Switch W/ 2x PSU, 2x Power Cords
$205.00

Cisco WS-C3850-12X48U-S 48-Port UPoE Switch 1100W PSU
$149.99

Cisco C9300NM8X Network Switch Module
$599.99