[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian laptop and internet connection sharing



On Sun, Feb 22, 2004 at 03:18:49AM -0500, nick wrote:
> I sometimea use my Debian Laptop with a Wi-Fi card to access the Verizon 
> WiFi spots in Manhattan. My partner (in the ambulance) is finding it 
> increasingly difficult to find public WAP's.
> Would it be possible for him to plug a crossover cable into my RJ45 jack 
> and share my internet connection while I am connected to a WAP via my 
> WiFi card?
> I attempted to use Google, but could only find HowTo's regarding desktop 
> machines and standard NIC's. Any pointers to a guide or HowTo would be 
> appreciated.
> 
> I also tried the reverse. Using his Window XP lgged into verizon, I 
> tried to enable ICS (internet connection sharing), I was able to get an 
> IP address on the debain laptop, but was not able to surf the web.
> 

I don't remember the exact settings, will check when I get home, but
you need the NAT options in the iptable settings, I don't remember if
there is an extra ip-forwarding option (don't think so).

You then need to set up a firewall with NAT support (you can use any of
the firewall tools to do that).
That should be enough, but you may need to also echo 1 into
/proc/sys/net/ipv4/ip_forward.

> 
> Thanks,
> 
> Nick
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact 
> listmaster@lists.debian.org
> 
> 
> +++++++++++++++++++++++++++++++++++++++++++
> This Mail Was Scanned By Mail-seCure System
> at the Tel-Aviv University CC.



Reply to: