-
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...
-
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
-
By Jwizzman in forum Networking
Replies: 8
Last Post: 09-12-2004, 09:52 PM
-
By iisatrini in forum Networking
Replies: 2
Last Post: 03-09-2004, 09:07 PM
-
By Yeti in forum Networking
Replies: 1
Last Post: 12-09-2003, 06:56 AM
-
By tealeaf in forum Networking
Replies: 3
Last Post: 11-04-2003, 09:56 AM
-
By pfb in forum Networking
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
-
Forum Rules
Vintage 5362 IBM System/36 Mini-Computer Mainframe 5291 2, CRT Terminal DM12N501
$249.99
IBM Type 4869 External 5 1/4in Floppy Disk Drive Mainframe Collection - UNTESTED
$65.00
01KU751 IBM Z14 zSERIES MAINFRAME SUPPORT ELEMENT 15.5" DISPLAY UNIT
$225.00
Lot of 2 Vintage DEC Digital Computer Mainframe VT100 Keyboards Untested
$239.99
6 Vintage Computer Tape Reels mainframe 3200 5000 data ibm magnetic processor
$99.00
Vintage Silicon Graphics SGI Indy B006 Workstation Computer
$149.95
8 - VINTAGE MAINFRAME Fortran Format Punch Cards - IBM 80 columns
$9.99
Commodore Amiga 500 Computer w/Mouse and Amiga A520 RF Modulator As Is Untested
$299.99
Xargon 1 Beyond Reality RARE Game Floppy 3.5” Floppy Mainframe Collection
$349.99
Compaq Mechanical Keyboard Mainframe Collection RT101 XT/AT Connection (02)
$206.99