Sorry I didn't specify it. Of course I use UDP protocol, so it is connectionless. Alberto On Thu, Dec 2, 2010 at 1:46 PM, Giles Coochey <giles@xxxxxxxxxxx> wrote: > On 02/12/2010 13:38, Alberto Quattrini Li wrote: > > Hi, > > I would like to know if there is any way by using NAT feature to > forward a message to multiple destinations. I know that there is the > package TEE, but that works at IP level, and so you can duplicate the > packet to another host (i.e. specifying another address, but not the > port). Moreover I know that specifying a range of port in > to-destination just load-balances the traffic flow within that range, > so that solution doesn't work. > > For example, let's say that I have a server that wants to broadcast a > message to different clients on the same machine (so identified by > localhost:port; each client has different port obviously). > So it would be very easy if the server can send the message to the > "broadcast port" and when netfilter intercepts it, by matching that > broadcast port as destination port, netfilter would forward it to > destinations specified by the rule. > > Maybe you just want multi-cast. > > You couldn't do this with connection based protocols such as TCP as you need > to handle each connection differently at higher layers. > > -- > Best Regards, > > Giles Coochey > NetSecSpec Ltd > Email/MSN/Live Messenger: giles@xxxxxxxxxxx > Skype: gilescoochey > > -- To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html