在 FreeBSD 机器上设置如下规则,可使客户机只设置 FreeBSD 机器为网关就
可以访问 iNET(透明代理)
ipfw add 49 allow tcp from 192.168.0.200 to any
ipfw add 50 fwd 127.0.0.1,3128 tcp from any to any 80
修改 squid.conf
http_port 3128
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
中国Linux论坛 版权所有