怎样改squid使我能通过代理上网?

由 tangdp999 在 01-06-2004 12:26 发表:

怎样改squid使我能通过代理上网?

我的机器为redhat linux 9.0装了双网卡其中一个和Internet相连另一个和另一台电脑相连我的电脑的内部ip为192.168.1.1 另一台电脑为192.168.1.2 不管我怎么设置都不能将另一台电脑通过我的电脑上网我已经启动了squid服务请问我应该怎么设置才行???


由 Snoopy 在 01-06-2004 12:56 发表:


在squid.conf里将下面那些前面的#去掉,

http_port 3128

icp_port 3130

cache_mem 8 MB

cache_dir ufs /var/spool/squid 100 16 256

cache_access_log /var/log/squid/access.log

cache_log /var/log/squid/cache.log

cache_store_log /var/log/squid/store.log

http_access deny all 改成 http_access allow all

启动前先 squid -z,然后再启动

如果出现Squid - Fatal Error: Please set 'visible_hostname'.

的话,就修改squid.conf里的

visible_hostname snooopy

unique_hostname snooopy

将snooopy改成你的主机名


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choices from my hand

Then will I begin to under


由 tangdp999 在 01-06-2004 14:53 发表:


好像还是不行

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus