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
本文介绍如何使用Squid进行反向代理的基本配置,包括设置监听端口、缓存大小、DNS解析服务器等参数,并通过访问控制列表实现流量过滤。
6147

被折叠的 条评论
为什么被折叠?



