Networking :: how do i share the internet from dsl ?
I want to share the wireless internet i have with more computers, for the rest i got everything running with dsl so it gets time to get that last windows machine ( i still use only for sharing the internet ) away.
my wireless device is ath0 inet addr: 192.168.2.4 Bcast: 192.168.2.255 Mask: 255.255.255.0
my networkcard is eth0 but i don't know how to get the internet out of that one
somebody know what to do? allready thanksGet iptables from mydsl, and then read ip masquerading howto from tldp.org Also I'd recommend you do a debian-style HD install on that routing machine..
Quote (curaga @ Aug. 05 2007,12:47)
Ok,thanks for the hint. i got the iptables, tried to work myself trough the reading material but it still don't work... as far as what i understand ( could be wrong ) it is best to seperate the cable network from my computer i use to receive my wireless internet by using a 192.... and a 10.... network address so on my ath0 (wireless) i have a internal address 192.168.1.33 ( and the last number changes everytime when i connect to that signal ) Bcast: 192.168.1.255 Mask: 255.255.255.0. On my eth0 ( network cable ) i can not get the numbers right, i trie to get working 10.0.0.3 Mask 255.0.0.0 but everything i trie with the rest of the numbers don't work, the network itself works and both machines can ping each other but internet still don't comes through that cable Both my systems work with DSL ( debian way install )
somebody knows?Did you do the "route" commands from the howto? As your sharing comp is a "gateway" if others connect through it to internet, so on all client machines you need to type "route add default gw 192.168.1.33/24" (I think that's correct..) to make them connect through that address...And ip masquerading (=NATting) is needed to make it look to the internet that all packets are coming from the gateway comp, if it isn't on, they look like they came from 192.168.whatever and as that's a private address, they cannot connect you back...Next Page...
original here.