Configuring WCCPv2 on Cisco Router With Squid…

2009-05-13 07:00:46来源:未知 阅读 ()

新老客户大回馈,云服务器低至5折


拓扑图

原理
配置
Routerip wccp web-cache!interface GigabitEthernet1/29 ip wccp web-cache redirect in
Squid Server
配置Squid Server
先使用ports安装squid,修改squid.conf
http_port 3128 transparentwccp2_router 10.0.75.6
建立GRE Tunnelifconfig gre0 createifconfig gre0 10.0.75.5 211.153.250.1 netmask 255.255.255.255 link2 tunnel 10.0.75.5 211.153.250.1 uproute delete 211.153.250.1
修改并编译FreeBSD内核options         IPDIVERToptions         IPFIREWALLoptions         IPFIREWALL_FORWARDoptions         IPFIREWALL_FORWARD_EXTENDEDoptions         IPFIREWALL_DEFAULT_TO_ACCEPT
给IPFW增加转发规则ipfw add fwd 127.0.0.1,3128 tcp from any to any 80 via gre0 in
启动squidecho 'squid_enable="YES"' >> /etc/rc.conf/usr/local/etc/rc.d/squid.sh start
检查Router#    sho ip wccp Global WCCP information:    Router information:        Router Identifier:                   211.153.250.1        Protocol Version:                    2.0     Service Identifier: web-cache        Number of Cache Engines:             1        Number of routers:                   1        Total Packets Redirected:            876198        Redirect access-list:                -none-        Total Packets Denied Redirect:       0        Total Packets Unassigned:            0        Group access-list:                   -none-        Total Messages Denied to Group:      0        Total Authentication failures:       0freebsd 6.2 + squid 2.6 + wccp 问题

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:如何在不支持上传文件的论坛上传文件?

下一篇:利用FreeBSD建立ADSL拨号网关服务器