Hi all,

I'm just trying to enable DNAT to forward packets arriving at one
special port to the broadcast-address of our LAN:

iptables -t nat -A PREROUTING -i eth1 -p udp --dport 2107 -j DNAT \
--to-destination 192.168.0.255:2107

Anything wrong about that?
I'm using RedHat 7.2, Kernel 2.4.9-21, iptables iptables-1.2.4-2

I tested this before using
iptables -t nat -A PREROUTING -i eth1 -p udp --dport 2107 -j DNAT \
--to-destination 192.168.0.151:2107

Surprisingly this still works, though the forwarding to the broadcast
does NOT work - packets are still forwarded to ip 192.168.0.151.

After re-starting my firewall nothing changes... I also restarted
iptables. I have NOT restartet the whole network on this machine since
it is used as production environment at the moment.

Any clues?

Thanks,
Kai



Reply via email to