Skip to contentSkip to conversation

Redirect problem in bridge

DISCUSSION Ravi Saxena 2 participants 2 messages Jul 22, 2003 – Jul 23, 2003 netfilter

lore
Share & tools
lore
#0 lore raw

BlankHello All,

I'm using bridge-nf-0.0.7-against-2.4.19.diff patch for bridge firewalling.

But I am facing a problem in adding this rule.

iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 8080 it always give error as invalid arguments.

Can anyone suggest the reason.

regards
Ravi Saxena

#1 lore raw
Quoted 10 lines · Ravi Saxena

BlankHello All,

I'm using bridge-nf-0.0.7-against-2.4.19.diff patch for bridge firewalling.

But I am facing a problem in adding this rule.

iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 8080 it always give error as invalid arguments.

Can anyone suggest the reason.

you most likely just need to recompile your iptables program.

Quoted 2 lines

regards
Ravi Saxena

Signature · 5 lines
- Harald Welte <[email protected]>             http://www.netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie