Ubuntu 16.04
Sponsored Link

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

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

http_access allow lan
# line 5157: 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 5511: add hostname

visible_hostname prox.srv.world
# forwarded_for on
# line 7625: add

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