Results 1 to 2 of 2

Thread: help for internet connection sharing???

  1. #1

    help for internet connection sharing???

    i need help about ip masquerading...

    SERVER: knoppix box (hdd installation)
    eth0 (usb) motorola cable modem
    eth1 (pci) intel ethernet

    HUB: 8 port n-way switch hub

    CLIENT(S): win xp box with pci ethernet


    ok, that's the what i wanna build...

    ....SERVER: knoppix box (hd installation)
    ........................... l
    ............................l
    ...........................V
    ..............HUB: uplink / port 1 / port 2 / port 3...
    .......................................l.......... ..l
    .......................................l.......... ..l
    ......................................V........... V
    ....CLIENTS:.............xp box....xp box

    ok, what now?

    thanx 4 replies...

  2. #2
    Junior Member
    Join Date
    Oct 2003
    Posts
    16

    MASQ

    Something like this in your iptables should do the trick.

    echo '1' > /proc/sys/net/ipv4/ip_forward
    iptables -P INPUT ACCEPT
    iptables -P OUTPUT ACCEPT
    iptables -P FORWARD DROP
    iptables -A FORWARD -i eth0 -o eth1 -m state --state ESTABLISHED,RELATED -j ACCE
    PT
    iptables -A FORWARD -j ACCEPT
    iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE

    I added this to my /etc/default/iptables file, not too sure if it's the correct method but it worked.

Similar Threads

  1. Internet Connection Sharing...???
    By Jwizzman in forum Networking
    Replies: 8
    Last Post: 09-12-2004, 09:52 PM
  2. Sharing Internet Connection with Knoppix
    By iisatrini in forum Networking
    Replies: 2
    Last Post: 03-09-2004, 09:07 PM
  3. Internet connection Sharing
    By Yeti in forum Networking
    Replies: 1
    Last Post: 12-09-2003, 06:56 AM
  4. internet connection sharing with 2 network cards
    By tealeaf in forum Networking
    Replies: 3
    Last Post: 11-04-2003, 09:56 AM
  5. Replies: 2
    Last Post: 06-11-2003, 09:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Samsung M378A2K43CB1-CRC 16GB DDR4-2400 CL17 UDIMM (288-pin, 2Rx8, 1.2V) Desktop picture

Samsung M378A2K43CB1-CRC 16GB DDR4-2400 CL17 UDIMM (288-pin, 2Rx8, 1.2V) Desktop

$59.99



G.Skill Trident Z RGB 32GB (2x16GB) RAM DDR4 3200MHz F4-3200C16D-32GTZR picture

G.Skill Trident Z RGB 32GB (2x16GB) RAM DDR4 3200MHz F4-3200C16D-32GTZR

$159.99



Ram Lot picture

Ram Lot

$8000.00



Corsair Vengeance DDR3 8GB 16GB 32GB 1866MHz PC3-14900 Desktop RAM Memory DIMM picture

Corsair Vengeance DDR3 8GB 16GB 32GB 1866MHz PC3-14900 Desktop RAM Memory DIMM

$85.00



Sk Hynix 8GB PC4-3200AA PC4-3200 260-Pin SO-DIMM Laptop RAM picture

Sk Hynix 8GB PC4-3200AA PC4-3200 260-Pin SO-DIMM Laptop RAM

$37.99



Lot Of 3 DDR3 Gaming RAM Crucial Ballistix GSkill 12GB Desktop Memory Untested picture

Lot Of 3 DDR3 Gaming RAM Crucial Ballistix GSkill 12GB Desktop Memory Untested

$44.89



Corsair CMK32GX4M2B3000C15 Vengeance LPX DDR4 3000mhz Memory Kit - 32GB (2x16GB) picture

Corsair CMK32GX4M2B3000C15 Vengeance LPX DDR4 3000mhz Memory Kit - 32GB (2x16GB)

$164.95



XPG Spectrix D41 16GB (2x8GB) DDR4-3200 PC4-25600 DIMM Intel XMP picture

XPG Spectrix D41 16GB (2x8GB) DDR4-3200 PC4-25600 DIMM Intel XMP

$60.00



LOT OF 23 Ram Sticks-Corsair Vengeance CMZ8GX3M2A1600C9 4GB (4GBx23=92GB Total) picture

LOT OF 23 Ram Sticks-Corsair Vengeance CMZ8GX3M2A1600C9 4GB (4GBx23=92GB Total)

$129.99



Dell 16GB PC4-21300 (DDR4-2666) Memory (SNPPWR5TC16G) picture

Dell 16GB PC4-21300 (DDR4-2666) Memory (SNPPWR5TC16G)

$89.99