$ vim /etc/squid/squid.conf
acl CONNECT method CONNECT
acl lan src 10.0.0.0/24 #追記
# from where browsing should be allowed
http_access allow localnet
http_access allow localhost
http_access allow lan #追記
# And finally deny all other access to this proxy
http_access deny all
http_port 8080 #追記
# 最終行に追記(匿名サーバー化)
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
# ホスト名定義
visible_hostname prox.server.world
# クライアント情報を表示しない
forwarded_for off
Squid起動
上記の設定が完了すればSquidを起動します。
$ /etc/rc.d/init.d/squid start
squid を起動中: . [ OK ]
コメント