|
我试了一下,
1。私网机器设置代理192.168.1.1:3333可以上网
2。不设置也可以上网,
基本实现我的要求,就是不知真正的性能如何,请高手品评一下:
http_port 3333
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
#
cache_mem 64 MB
maximum_object_size 4096 KB
cache_dir ufs /usr/local/squid/cache 2000 16 256
cache_access_log /usr/local/squid/var/logs/squid/access.log
cache_log /usr/local/squid/var/logs/squid/cache.log
#user&group
cache_effective_user squid
cache_effective_group squid
#
visible_hostname star.starpointcomm.com
pid_filename /var/run/squid.pid
dns_nameservers 192.168.1.1
acl starpointcomm src 192.168.1.0/24
acl all src 0.0.0.0/0
http_access allow starpointcomm
http_access deny all |
|