|
|
描述:
我用的机器都在192.168.1.*网段,想把192.168.1.66设置为前向代理,我的机器地址是192.168.1.38。
在192.168.1.66(suse 10)上安装squid 2.5后,打开了3128端口,然后,在192.168.1.38的浏览器设置192.168.1.66:3128为代理,但是无法上网,而192.168.1.66自己把自己设置为代理,就可以上网,在log中可以发现它缓存的记录。
哪位大虾知道如何解决,帮帮忙啊!先谢谢了!
我在suse 10.0上使用suse提供的squid 2.5,安装成功后,基本都没有改过任何东西只是把
http_access allow localhost
改成了
http_access allow all
并把
http_access deny all
注释掉了,如下。
# Example rule allowing access from your local networks. Adapt
# to list your (internal) IP networks from where browsing should
# be allowed
#acl our_networks src 192.168.1.0/24 192.168.2.0/24
#http_access allow our_networks
http_access allow all
# And finally deny all other access to this proxy
#http_access deny all
然后就都没有改其他地方了,附件是我做了如上修改后的squid.conf文件。 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
|