Install Squid2010/07/25 |
Build proxy server and make web browzing fast. Install Squid for it.
|
|
[1] | Install Squid |
root@lan05:~# aptitude -y install squid root@lan05:~# vi /etc/squid/squid.conf acl CONNECT method CONNECT # line 605: add ( allow from only LAN ) acl lan src 10.0.0.0/255.255.255.0 http_access allow localhost # line 679: add ( allow from only LAN ) http_access allow lan # line 1115: change http_port 8080 # line 3117: add lines header_access Referer deny all header_access X-Forwarded-For deny all header_access Via deny all header_access Cache-Control deny all # line 3409: add ( define hostname ) visible_hostname lan05.srv.world # forwarded_for on # line 4716: add ( hide IP ) forwarded_for off root@lan05:~# service squid restart squid start/running, process 1014 |
[2] | Start Web browser on your client PC. Select [Tools] - [Internet Options] and move to [Connections] tab. |
[3] | Check 'use a proxy' and input server's hostname and port number set in the section [1]. Then, you can access to internet through proxy server. |
Sponsored Link |
|