实验:squid反向代理服务器加速web-by zlong一、实验环境(1)两台linux主机(Red Hat Enterprise Linux),分别是RHEL1-WEB和RHEL2-SQUID,squid代理服务器和DNS服务器在RHEL2-SQUID上,apache服务器在RHEL1-WEB上RHEL1-WEB(内网)上IP网关域名192.168.1.107/24(eth0)192.168.1.110.1.1.2/24(eth0:1)10.1.1.1Web1.huawei.com10.1.1.3/24(eth0:2)10.1.1.1Web2.huawei.com10.1.1.4/24(eth0:3)10.1.1.1Web3.huawei.comRHEL2-SQUID(squid代理服务器)外网网卡eth0192.168.1.109/24内网网卡eth110.1.1.1/24(2)Win7本地主机:IP:192.168.1.104/24gateway:192.168.1.1(3)浏览器Sougou3.2二、配置网卡的IP两台linux的网卡eth0上的IP事先已配好,且已设置开机启动此处略[root@RHEL1-WEBetc]# ifconfig eth0:1 10.1.1.2netmask 255.255.255.0 up[root@RHEL1-WEBetc]# ifconfig eth0:2 10.1.1.3netmask 255.255.255.0 up[root@RHEL1-WEBetc]# ifconfig eth0:3 10.1.1.4netmask 255.255.255.0 up[root@RHEL2-SQUIDsquid]# ifconfig eth1 10.1.1.1 netmask 255.255.255.0 up其他网卡开机启动的设置(1)RHEL1-WEB上的eth0:1、eth0:2、eth0:3[root@RHEL1-WEBconf]# cd /e..
squid反向代理服务器加速web
最新推荐文章于 2024-04-01 16:58:30 发布