aquaballoon

HTTP proxy server - Squid

Jun 22nd, 2011
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.39 KB | None | 0 0
  1. 1.Installing the proxy
  2.  
  3. $ sudo aptitude install squid
  4.  
  5.  
  6. 2.Configuring the proxy
  7.  
  8. $ sudo gedit /etc/squid/squid.conf
  9. acl aquaballoon_network src 192.168.1.0/255.255.255.0
  10. http_access allow aquaballoon_network
  11.  
  12. cache_dir ufs /var/spool/squid 1000 16 256
  13.  
  14. visible_hostname aquaballoon.home
  15.  
  16. # http_access deny all
  17.  
  18. # http_access deny! Safe_ports
  19.  
  20.  
  21. $ sudo /etc/init.d/squid restart
Advertisement
Add Comment
Please, Sign In to add comment