Squid : Install2019/07/31 |
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 lan src 10.0.0.0/24
http_access allow localhost
# line 1409: add (apply ACL for internal network) http_access allow lan
# line 5592: 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 8242: add # forwarded_for on forwarded_for off
systemctl restart squid
|
Sponsored Link |