单网卡Squid AS4 U5 设置
时间:2009-03-23 来源:sjhf
代理部署
一、:as4u5i386
无认证,squid系统图
Linux as4 u5
eth0安装设置
安装(系统自带版本号大于3.5.1(二)步骤如下:
#adsl-setup
1.(作为代理的ip(包月)/ no地址(adsl密码
6.防火墙等级 0(普通)/ yes输入yes
选择system service
4.在/etc/rc.d/rc.local控制adsl设置dns没有启动
ifup PPP0
3.然后重启网络服务
service network restart
route -n 更改默认网关
squid :\RedHat\RPMS \squid-2.5.STABLE14-1.4E
Rpm –ivh squid-2.5.STABLE14-1.4E.rpm
软件配置
代理IP(代理端口)
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
pid_filename /var/log/squid.pid
#auth_param basic children 5
#auth_param basic realm Squid proxy-caching web server
#auth_param basic credentialsttl 2 hours
(建立缓冲目录结构)
(2)sqiud start
在文件/etc/http/conf/htttp.conf 的代理服务器参数如下:
IP:10.1.80.137
|
相关阅读 更多 +