-
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
Amiga 4000TX computer motherboard
$2643.23
Mini External OLED AMIGA Gotek Floppy Drive Emulator For Amiga 500/500+/600/1200
$37.32
Amiga 500 Gotek Custom Mount USB Floppy Emulator - Complete Kit with Gotek
$65.00
Vintage Tenex Computer Express Catalog Commodore & Amiga Computers SPRING 1991
$15.99
Lot of 14 Amazing Computing Magazine Commodore Amiga
$20.00
13 Available Samsung SFD-321B Floppy Drive Modified for Commodore Amiga
$30.00
SIDKick Pico Commodore 64 and 128 (C64 / C128) - MOS SID 6581 / 8580 Replacement
$19.99
Commodore Amiga Decal
$2.99
TeensyROM Cartridge for Commodore 64/128: MIDI, Fastload, Emulation, and Network
$65.00
Lot Of (2) MOS 6567 R56A 1983 Purple CERAMIC GOLD PIN Video Chips SOLD AS IS
$39.99