Install Squid2015/05/20 |
Install Squid to configure Proxy server.
|
|
[1] | Install Squid. |
root@prox:~# apt-get -y install squid3
|
[2] | This is common forward proxy settings. |
root@prox:~#
vi /etc/squid3/squid.conf
acl CONNECT method CONNECT
# line 919: add ( define new ACL ) acl lan src 10.0.0.0/24
http_access allow localhost
# line 1058: add ( allow defined ACL above ) http_access allow lan
# 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: define hostname visible_hostname prox.srv.world
# forwarded_for on
root@prox:~# # line 6869: add (not display IP address) forwarded_for off
systemctl restart squid3
|
Sponsored Link |
|