Debian 8 Jessie
Sponsored Link

Install Squid2015/05/17

 
Install Squid to configure Proxy server.
[1] Install Squid.
root@prox:~#
aptitude -y install squid3
[2] This is common forward proxy settings.
root@prox:~#
vi /etc/squid3/squid.conf
acl CONNECT method CONNECT
# line 1056: add ( define new ACL )

acl lan src 10.0.0.0/24
http_access allow localhost
# line 1211: add ( allow defined ACL above )

http_access allow lan
# line 4855: 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 5184: define hostname

visible_hostname prox.srv.world
# forwarded_for on
# line 7354: add (not display IP address)

forwarded_for off
root@prox:~#
systemctl restart squid3
Matched Content