squid

2009-12-27T00:00:00+09:00 squid

プロキシサーバー Squidの構築メモ

/etc/squid/squid.confを設定

http_port 3128
cache_mem 10 MB
cache_dir ufs /var/spool/squid 1024 16 256

http_access allow manager localhost
http_access deny manager
forwarded for off

anonymize_headers deny Via
anonymize_headers deny User-Agent

キャッシュを構築

squid -z

を実行。あとはサーバーを起動する

postfixでDomainKeys