On Wed, Sep 13, 2006 at 05:26:10PM -0400, Janina Sajka wrote:
For some reason the DNAT target isn't working in the following
situation.
iptables -t nat -A PRErOUTING -i eth0 -p udp --dport 5060 -j DNAT --to 172.16.32.48
however
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j DNAT 172.16.32.48
works just fine.
Any clue?
My first guess would be that earlier you have a rule which does
DROP or REJECT on packets to port 5060. I assume that "PRErOUTING"
is a copying mistake. Right?
Michal