Iptables/Ebtables + bridge with proxy
"Adam N." <[email protected]>
| Newsgroups | gmane.linux.network.bridge.ebtables.user |
|---|---|
| Message-ID | <[email protected]> |
Hello I want use bridge box redirect packet from user to transparent proxy(squid) i read howto and mailing list but i can't find answer to my problem. in ebtables i use: ebtables -t broute -A BROUTING -p IPv4 --ip-protocol 6 --ip-source v.x.y.z --ip-destination-port 80 -j redirect --redirect-target ACCEPT in iptables i use: iptables -A PREROUTING -t nat -p tcp -s v.x.y.z --dport 80 -j DNAT --to-destination 172.16.0.3:8080 in proxy i add: http_port 172.16.0.3:8080 httpd_accel_host virtual httpd_accel_port 80 httpd_accel_with_proxy on httpd_accel_uses_host_header on if i do: ebtables -t broute -L --Lx i see counters in the end of and in iptables -t nat -nvL i see counters but whene i try open www.google.com i can't connect to host and proxy log is empty. I use kernel 2.6.13.3 with l7-filter, iptables 1.3.0, ebtables 2.0.6, proxy 2.5.9-10sarge2 and my system: Debian Sarge. Anybody kan help ? ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl