From OpenStreetMap Wiki
Jump to: navigation, search
sudo apt-get install squid
sudo vim /etc/squid3/squid.conf

Changed these lines:

acl localnet src # IP comes from ifconfig
http_access allow localnet
http_access allow localhost
http_port 8888
cache_mem 1024 MB
cache_dir ufs /home/squid 30000 16 256 # create the dir before with correct perms
                                       # (not in /var to get more space)
visible_hostname ouanaminthe # chose a name, will be also used in the HTTP headers


sudo service squid3 restart

Then, other computers can use the shared wifi using:

host:  # ping ouanaminthe.local to get the IP
port: 8888

To see the access log:

sudo tail -f /var/log/squid3/access.log