Squid/設定
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
]
開始行:
**設定 [#ib52f220]
#contents
----
***squid.conf [#xeeb151d]
暫定。最低限のWebキャッシュ。~
診断くんでプロキシ判定されない設定。~
ACLはミニマム推奨をそのまま。~
acl manager proto cache_object
acl localhost src 127.0.0.1/32 ::1
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1
acl localnet src 10.0.0.0/8 # RFC1918 possible inter...
acl localnet src 172.16.0.0/12 # RFC1918 possible inter...
acl localnet src 192.168.0.0/16 # RFC1918 possible inter...
acl localnet src fc00::/7 # RFC 4193 local private...
acl localnet src fe80::/10 # RFC 4291 link-local (d...
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
http_access deny to_localhost
http_access allow manager localnet
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localnet
http_access allow localhost
http_access deny all
http_port 3128
cache_mem 1024 MB
cache_dir aufs /usr/local/squid/var/cache 1024 16 256
via off
forwarded_for delete
request_header_access Proxy-Connection deny all
request_header_access Cache-Control deny all
error_directory /usr/local/squid/share/errors/ja
error_default_language ja
error_log_languages on
終了行:
**設定 [#ib52f220]
#contents
----
***squid.conf [#xeeb151d]
暫定。最低限のWebキャッシュ。~
診断くんでプロキシ判定されない設定。~
ACLはミニマム推奨をそのまま。~
acl manager proto cache_object
acl localhost src 127.0.0.1/32 ::1
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1
acl localnet src 10.0.0.0/8 # RFC1918 possible inter...
acl localnet src 172.16.0.0/12 # RFC1918 possible inter...
acl localnet src 192.168.0.0/16 # RFC1918 possible inter...
acl localnet src fc00::/7 # RFC 4193 local private...
acl localnet src fe80::/10 # RFC 4291 link-local (d...
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
http_access deny to_localhost
http_access allow manager localnet
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localnet
http_access allow localhost
http_access deny all
http_port 3128
cache_mem 1024 MB
cache_dir aufs /usr/local/squid/var/cache 1024 16 256
via off
forwarded_for delete
request_header_access Proxy-Connection deny all
request_header_access Cache-Control deny all
error_directory /usr/local/squid/share/errors/ja
error_default_language ja
error_log_languages on
ページ名: