Forward UDP broadcast

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux