Search squid archive

wccp2+tproxy4+squid 3.1 last

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
i´m trying setup tproxy4 + wccp2 + squid 3.1 but i don´t know whats happens..

squid + wccp2 works fine..

my network scheme: http://img269.imageshack.us/img269/2286/19551413.jpg

my squid.conf:
http_port 3129 tproxy transparent

..
wccp2_router 66.0.0.1
wccp2_forwarding_method 1
wccp2_return_method 1
wccp2_service standard 0
wccp2_address 66.0.0.3

wccp2_service dynamic 80
wccp2_service_info 80 protocol=tcp flags=dst_ip_hash priority=240 ports=80
wccp2_service dynamic 90
wccp2_service_info 90 protocol=tcp flags=src_ip_hash,ports_source
priority=240 ports=80


iptables:

        iptables -t mangle -N DIVERT
        iptables -t mangle -A DIVERT -j MARK --set-mark 1
        iptables -t mangle -A DIVERT -j ACCEPT

        iptables -t mangle -A PREROUTING -p tcp -m socket -j DIVERT
        iptables -t mangle -A PREROUTING -i wccp0 -p tcp --dport 80 -j
TPROXY --tproxy-mark 0x1/0x1 --on-port 3129

        ip rule add fwmark 1 lookup 100
        ip route add local 0.0.0.0/0 dev lo table 100


cisco:

!
ip wccp 80
ip wccp 90
!
interface FastEthernet 0/0
   ip wccp 80 redirect in
   ip wccp 90 redirect out
!


i can see packets comming from router to wccp0 interface on linux...
but can´t access web

where is the problem ?!

thanks !!

-- 
Sds.

Alexandre Jeronimo Correa

Onda Internet
www.onda.net.br

IPV6 Ready !
www.ipv6.onda.net.br


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux