Ubuntu 14.04
Sponsored Link

Install Squid2014/05/02

 
Install Squid and configure Proxy server.
[1] This is common forward proxy settings.
root@prox:~#
apt-get -y install squid3
root@prox:~#
vi /etc/squid3/squid.conf
acl CONNECT method CONNECT
# line 919: add (define ACL for internal)

acl lan src 10.0.0.0/24
http_access allow localhost
# line 1058: add (set ACL for internal)

http_access allow lan
# line 1460: change

http_port
8080
# line 4445: 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 4761: add (define hostname)

visible_hostname prox.srv.world
# forwarded_for on
# line 6869: add (hide IP address)

forwarded_for off
root@prox:~#
initctl restart squid3

squid3 start/running, process 1462
[2] Configure Client PC. The example below is for Firefox.
Open [Tool] - [Option] and move [detail] - [network] tab.
[3] Check a box "Configure Proxy manually" and input your server's hostname or IP address. It's OK, it's possible to access to the web via proxy server.
Matched Content