strange udp redirect problem

Brane F. Gračnar bfg at
Tue Nov 28 08:44:40 CET 2006

Hello there.

I have strange udp port redirection problem.

Here is my setup:

A ( -> ( GW ( ->
( B

I would like to redirect packet when A would sends udp packet to port 6000 to port 7000 where runs udp
proxy server.

Well, hosts A and B can ping/telnet eachother, but port redirect does not

iptables -t nat -A PREROUTING -p udp --dport 6000 -j REDIRECT --to-port 7000

Well, noting happens... packets traverse firewall/gw without any


The same thing works flawlessly with tcp protocol (-p tcp, running tcp
listening server on port 7000)...

What am i doing wrong?


More information about the netfilter mailing list