Re: iptables bridging transperant proxy

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

 



>I am trying to create a rule that will send http traffic with a specific 
>source address to the proxy port of the same pc. The box I'm using is running 
>as a "bridge" and the bridge interface does not have an ip address assigned.

ebtables -A BROUTING -j BROUTE -s 1.2.3.4 -p ipv4 --ip-proto tcp --ip-dport 80
iptables -t nat -A PREROUTING -s 1.2.3.4 -j REDIRECT --to-port 3128

Though, this requires the individual bridge port(s) to have an IP...


Jan Engelhardt
-- 
| Alphagate Systems, http://alphagate.hopto.org/


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux