-
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
Oracle 7085209 LSI MegaRAID SAS 9361-8i 1GB Cache 12Gbps SAS/SATA PCIe RAID Card
$28.20
LSI 9207-8i 8-Port SAS Non-RAID 6GBPS PCIe Host Bus Adapter
$34.95
Cisco UCS LSI MegaRAID 9271CV-8I SAS2308 PCIe SAS Internal RAID Controller
$28.00
LSI 9223-8I 6GBPS PCIe SAS Internal RAID Controller
$22.75
Inspur LSI 9300-8i Raid Card 12Gbps HBA HDD Controller High Profile IT MODE
$15.98
LSI MegaRAID 9361-8i 12Gb PCIe 8-Port SAS/SATA RAID 1Gb w/BBU/CacheVault/License
$39.95
LSI MegaRAID 9361-8i 12Gbps PCIe 3 x8 SATA SAS 3 8 Port RAID + BBU & CacheVault
$39.00
ORICO Multi Bay RAID Hard Drive Enclosure USB 3.0/ Type-C For 2.5/3.5'' HDD SSDs
$82.49
ACASIS 2.5/3.5 inch 2 Bay SATA USB 3.0 Hard Drive Disk HDD SSD Enclosure 4 RAID
$58.99
NEW LSI MEGARAID SAS 9361-8i 12GB/s SAS + SATA RAID CONTROLLER CARD PCIe x8 3.0
$99.00