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

Re: Debian laptop and internet connection sharing



On Sun, 2004-02-22 at 03:18 -0500, nick wrote:
> 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?

The easiest way, if all he needs is web access, is probably to install
squid.

edit /etc/squid.conf adding 
acl localnet src 192.168.0.0/255.255.255.0
(or whatever the subnet is that you'll be using)
right under the "acl all src 0.0.0.0/0.0.0.0" line, and then add
http_access allow localnet
right *above* the "http_access deny all" line

run /etc/init.d/squid restart and have him put your IP w/ port 3128 as
his proxy server. 

-Mark



Reply to: