Install Squid2012/07/09 |
Configure Squid as a Reverse Proxy.
|
|
[1] | Install Squid |
root@lan:~#
aptitude -y install squid3
root@lan:~#
vi /etc/squid3/squid.conf
acl CONNECT method CONNECT
# line 719: define ACL for internal acl lan src 10.0.0.0/24
http_access allow localhost
# line 843: add (set ACL for internal) http_access allow lan
# line 1137: change http_port 8080
# line 3466: add follows request_header_access Referer deny all request_header_access X-Forwarded-For deny all request_header_access Via deny all request_header_access Cache-Control deny all # line 3765: add (define hostname) visible_hostname lan.srv.world
# forwarded_for on
root@lan:~# # line 5558:: add (hide IP address) forwarded_for off
service squid3 restart squid3 stop/waiting squid3 start/running, process 1845 |
[2] | Start Web browser on your client PC. This is the example on Internet Explorer 9. Select [Tools] - [Internet Options] and move to [Connections] tab like below. |
[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 |