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
  •  


A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture

HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin

$12.90



Samsung 128GB (4x 32GB) M86B4G70DM0-CMA3 PC3-14900L 4Rx4 DDR3 ECC Reg Server Mem picture

Samsung 128GB (4x 32GB) M86B4G70DM0-CMA3 PC3-14900L 4Rx4 DDR3 ECC Reg Server Mem

$39.99



Samsung 16GB 2Rx4 PC4-2400 RDIMM DDR4-19200 ECC REG Registered Server Memory RAM picture

Samsung 16GB 2Rx4 PC4-2400 RDIMM DDR4-19200 ECC REG Registered Server Memory RAM

$20.99



A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G picture

A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G

$13.99



HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM picture

HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM

$9.64



Lot of 2 32GB DDR4 2666 PC4-21300 SODIMM RAM Modules Mixed Brand picture

Lot of 2 32GB DDR4 2666 PC4-21300 SODIMM RAM Modules Mixed Brand

$60.00



8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A picture

8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A

$12.00



A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM picture

A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM

$287.96



A-Tech 128GB 2x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM picture

A-Tech 128GB 2x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM

$143.98