Skip to contentSkip to conversation

iptables bridging transperant proxy

DISCUSSION Dan Cox 2 participants 2 messages Jul 28, 2005 – Aug 1, 2005

lore
Share & tools
lore

Dan Cox

author
#0 lore raw

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

#1 lore raw
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/