Rex's

備忘錄

Debian 9 Install Squid and configure Proxy server

9月 062018

apt-get install squid

vi /etc/squid/squid.conf

add:

acl CONNECT method CONNECT
acl lan src 192.168.1.0/24
http_access allow localhost
http_access allow lan
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
forwarded_for off

 

/etc/init.d/squid restart

回應

ks06 九月, 2018你好我在你旧的blog下载了NS5GT的firmware想知道解压密码 http://blog.hero.org.tw
Rex10 九月, 2018密碼我忘記了耶,需要我開一篇新載點給你嗎?

新回應

Atom

Powered By Nibbleblog