-
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
Dell Poweredge R630 Server | 2x E5-2680v3 24 Cores | 128GB | 8x HDD Trays
$575.00
Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD
$89.99
Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD
$389.99
Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox
$340.00
CTO Dell PowerEdge R630 Server, 2x Xeon E5-2620V4, 64GB- 512GB RAM, 480GB SSDs
$246.67
DELL POWEREDGE T430 SERVER W/ DUAL XEON E5-2609 CPU & 16GB MEMORY
$329.00
Dell Poweredge R620 8-Bay CTO Pick your CPU & RAM Config | H710 Raid | 2x PSU
$209.99
Dell Poweredge T430 8 Bay Server Dual Xeon E5-2683 V4 32 Cores 64GB DDR4 2X SSD
$799.00
DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45
$284.00
Dell Poweredge R640 8 SFF Server No HDDs/ CPUs/ RAMs/ Cards/Fan/PSU
$419.99