Results 1 to 5 of 5

Thread: IP masquerading

  1. #1
    Junior Member
    Join Date
    Apr 2003
    Posts
    3

    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

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933
    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.

  3. #3
    Senior Member registered user
    Join Date
    Jan 2003
    Location
    Podunk, Idaho, USA
    Posts
    470
    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

  4. #4
    Member registered user
    Join Date
    Nov 2002
    Posts
    85
    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!

  5. #5
    Junior Member
    Join Date
    Apr 2003
    Posts
    3
    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
  •  


WD Blue 3D NAND 1TB 2.5

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

$80.00



Dell Latitude 14

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

$429.73



Western Digital 1TB 3.5

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

$29.99



Dell Latitude 14

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

$375.05



Seagate ST1000VM002 1TB 5900RPM 3.5

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

$24.99



Acer Aspire 14

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

$438.51



Acer Aspire 16 16

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 picture

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 picture

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 picture

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

$422.85