yum install squid
反向代理基本配置:
http_port 8080 transparent
cache_mem 512 MB
cache_dir ufs /data/squid_cache 4096 16 256
cache_effective_user squid
cache_effective_group squid
dns_nameservers 202.103.224.68
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
visible_hostname beihai365share
cache_mgr 237852571@qq.com
acl all src 0.0.0.0/0.0.0.0
http_access allow all
squid -z