[root@squid_server ~]# vim /etc/squid.conf# And finally deny all other access to this proxy
http_access allow all
http_access deny all
# Squid normally listens to port 3128##60行,修改,添加提供内网服务的网卡IP地址,和支持透明代理选项transparent
http_port 192.168.10.20:3128 transparent
cache_effective_user squid
cache_effective_group squid
cache_mem 64 MB
reply_body_max_size 10 MB
maximum_object_size 4096 KB
[root@squid_server ~]# systemctl restart squid