[wellylug] Multicast/Unicast IPtables and NAT.
Alex
wlug at viceconsulting.co.nz
Mon Sep 15 20:41:21 NZST 2003
erm so what exactly do you wanna do? you want to send traffic originitally
destined for a single IP to several IPs?
try this:
iptables -t nat -A PREROUTING -d a.b.c.d -o xyz -j DNAT --to IP1 --to
IP2 --to IP3 etc
where
a.b.c.d is the original destination IP
xyz is the outgoing interface you want to send on
IP1, 2, 3 are the multicast destinations.
i'm not sure if thats what you're after. failing that, check out
http://netfilter.org/documentation/pomlist/pom-summary.html ... there are
plenty of "add on" patches for iptables. maybe someone has coded a patch
that does what you want
-alex.
----- Original Message -----
From: munter <wellylug at vpc.co.nz>
To: <wellylug at lists.naos.co.nz>
Sent: Friday, September 12, 2003 10:27 PM
Subject: [wellylug] Multicast/Unicast IPtables and NAT.
> Hey Luggers,
>
> Tena Koutou, my first post to the list. Hope it doesn't hurt.
>
> I've got this application that spews udp packeted video across a network.
Due
> to the network it's a good idea to make it unicast. But I've got this
client
> that likes to view the video in multicast. The layers above IP are
identical
> no matter what addressing format I take.
>
> The question is: Does anyone think that by using some funky IPtables NAT
> settings, I can use IP tables to form a sort of unicast/multicast
translation?
>
> Basically IPtables gets unicast packets in and rips these off, slaps
> multicast addressing in it's place, and forwards the multicast packets
onto a
> new interface...
>
> Crazy Idea? Impossible? What do you reckon?
>
> chez.
>
> munter.
>
> --
> Wellington Linux Users Group Mailing List: wellylug at lists.naos.co.nz
> To Leave: http://lists.naos.co.nz/mailman/listinfo/wellylug
>
>
More information about the wellylug
mailing list