RE: Forward UDP broadcast

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

 



Thanks for that.
One more question, does multicast route ? Or it'll be the same as
broadcast ?

Thanks again !

Rommy

On Tue, 2003-06-03 at 15:49, George Vieira wrote:
> Umm.. broadcasts don't route which is probably why it doesn't work. Your basically trying to use iptables as a bridging mechanism where you really need a bridge.
> 
> If the rule didn't work and there is no p-o-m to do something funky like this then I think your out of luck.. but I might be wrong..
> 
> Thanks,
> ____________________________________________
> George Vieira
> Systems Manager
> georgev@xxxxxxxxxxxxxxxxxxxxxx
> 
> Citadel Computer Systems Pty Ltd
> http://www.citadelcomputer.com.au
>  
> 
> -----Original Message-----
> From: Rommy Taslim [mailto:rommyt@xxxxxxxxxxxxxxxxxxxxxxxx]
> Sent: Tuesday, June 03, 2003 3:29 PM
> To: netfilter@xxxxxxxxxxxxxxxxxxx
> Subject: 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
> 


[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