Squid : Install2021/05/21 |
Install Squid and configure Proxy server.
|
|
[1] | Install Squid. |
root@prox:~# apt -y install squid
|
[2] | This is common forward proxy settings. |
root@prox:~#
vi /etc/squid/squid.conf
acl CONNECT method CONNECT
# line 1209 : add (define ACL for internal network) acl my_localnet src 10.0.0.0/24
# line 1397 : uncomment http_access deny to_localhost # line 1408 : comment out and add the line (apply ACL for internal network) # http_access allow localhosthttp_access allow my_localnet
# line 5611 : add 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 8264 : add # forwarded_for on forwarded_for off
systemctl restart squid
|
Sponsored Link |