サーバー(Debian)のSquid設定変更
Squidの設定
ローカルの設定変更のため以下のファイルを変更します。
/etc/squid/squid.local.conf
変更内容は
・匿名性の強化
・キャッシュ容量の強化
です。
以下の内容を追加します。
httpd_suppress_version_string on
visible_hostname none
forwarded_for off
follow_x_forwarded_for deny all
via off
request_header_access X-Forwarded-For deny all
cache_dir ufs /var/spool/squid 10000 16 256
変更後に再起動します。
$ sudo /etc/init.d/squid restart
プロキシの診断
以下のサイトにアクセスして診断します。
設定変更後は「B-」から「A以上」の判定に変わります。
