Forward UDP broadcast
Hi,
Anyone knows how to forward UDP broadcast using iptables ? I need to do something like ipportfw does:
ipportfw -A -u 192.168.4.255/699 -R 192.168.2.255/699
which forward all the broadcast on network 4 for port 699 to network 2.
I have something like this for iptables:
iptables -t nat -A PREROUTING -p udp \ -d 192.168.4.255 --dport 699 \ --to-destination 192.168.2.255:699
But it didn't work.
Anyone can give me some pointers ??
Thanks in advance.
Rommy