[squid-users] Setup wccp2 with squid3 and cisco switch 4507

Yuri Voinov yvoinov at gmail.com
Wed Dec 14 16:01:39 UTC 2016


May be, this could help you:

http://wiki.squid-cache.org/ConfigExamples/Intercept/CiscoIOSv15Wccp2


14.12.2016 21:46, André Bolinhas пишет:
>
> Hi,
>
> I need to setup wccp2 between my Squid3 box and my cisco switch 4507
>
> Since my 4507 don't support GRE on forward methoding I need to
> configure the the wccp with L2.
>
>  
>
> My squid.conf
>
> http_port 3129 intercept
>
> wccp2_router $IP-OF-ROUTER
>
> wccp2_forwarding_method l2
>
> wccp2_return_method l2
>
>  
>
> My question is, in GRE method I need to create a GRE tunnel like this
>
> modprobe ip_gre
>
> ip tunnel add wccp0 mode gre remote $ASA-EXT-IP local $SQUID-IP dev eth0
>
>  
>
> ifconfig wccp0 $SQUID-IP netmask 255.255.255.255 up
>
> echo 0 >/proc/sys/net/ipv4/conf/wccp0/rp_filter
>
> echo 0 >/proc/sys/net/ipv4/conf/eth0/rp_filter
>
> echo 1 >/proc/sys/net/ipv4/ip_forward
>
> iptables -t nat -A PREROUTING -i wccp0 -p tcp --dport 80 -j REDIRECT
> --to-port 3129
>
> iptables -t nat -A POSTROUTING -j MASQUERADE
>
>  
>
> In L2 method the configuration is the same (tunnel, sysctl,
> iptables..) ? if not can you help me to configure it (tunnel, sysctl,
> iptables..).
>
>  
>
> Also in switch what's ACL I need to create?
>
>  
>
> Best regard
>
>
>
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users

-- 
Cats - delicious. You just do not know how to cook them.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20161214/b244966e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x613DEC46.asc
Type: application/pgp-keys
Size: 2437 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20161214/b244966e/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20161214/b244966e/attachment.sig>


More information about the squid-users mailing list