如何判断squid是否在起作用

由 crazydream 在 12-08-2002 19:39 发表:

如何判断squid是否在起作用

我用IPTBALES和squid,来配置网关代理

我的iptables配置

如下

#begin

echo 1 > /proc/sys/net/ipv4/ip_forward

#add mode

modprobe ip_tables

modprobe iptable_nat

modprobe ip_conntrack

modprobe ip_conntrack_ftp

iptables -F

iptables -t nat -F

iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE

就这样!其实,在没有安装squid的时候,就这些配置已经能够使我的代理服务器运行起来了!

我现在装了squid,主要是想利用squid的缓存功能来提高客户机的网页浏览速度,但是,我不知道如何判断squid的功能是否被使用

我的squid.conf

:httpd_accel_port 3218

httpd_accel_host virtual

httpd_accel_port 80

httpd_accel_with_proxy on

httpd_accel_uses_host_header on

http_access allow all

icp_accwss allow all

acl all src 0.0.0.0/0.0.0.0


由 solaris 在 12-08-2002 19:45 发表:


如果你不配置squid,那只是nat上网,并非代理。

把浏览器设为使用代理服务器,地址,端口(3128),再上网,如果成功,就是已经工作了。


由 crazydream 在 12-08-2002 22:07 发表:


如果这样的话,那么透明网关就失去了意义!

我是不想在ie中设置代理,想使用透明代理!

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