iptables bridging transperant proxy
Hello,
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.
Any help is appreciated.
Dan Cox
Quoted 4 lines
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
Signature · 1 line
| Alphagate Systems, http://alphagate.hopto.org/