Multicast using openVPN

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
andnan
OpenVpn Newbie
Posts: 1
Joined: Fri Oct 22, 2010 3:19 am

Multicast using openVPN

Post by andnan » Fri Oct 22, 2010 3:29 am

As part of my masters research, I need to send a multicast packet to an arbituary number of client machines ( embedded hardware devices actually that I can install LINUX on) with security for access to a resource.

I'm thinking this will work.
1. Clients automatically join an openVPN network upon power up.
2. After the Client has joined the network, it registers with an application (Lets call him BOB) that is needed for my reserch work over the secure VPN.
3. Periodically, BOB looks at the number of clients that are registerd and divides up a resource(the amount of resource available chanes randomly over time), allocating it to the clients until it is consumed. BOB then uses a multicast protocol ( UDP? ) to send a command to all registered clients.
4. Each client receives the packet and parses the data. Within the packet is information that the client can use to determine if he has access to the resource.

So, can I do this with openVPN?

User avatar
krzee
Forum Team
Posts: 728
Joined: Fri Aug 29, 2008 5:42 pm

Re: Multicast using openVPN

Post by krzee » Fri Oct 22, 2010 7:06 am

yes, possibly 3 ways:
  • you want a tap bridge to do it easily (but less secure due to sharing the entire layer2 (think arp poisoning)
    you can test using tap without a bridge... this may work since mcast is actually IP traffic
    otherwise you could use TUN with some sort of multicast relay

esumit
OpenVpn Newbie
Posts: 4
Joined: Tue Jun 12, 2012 6:54 am

Re: Multicast using openVPN

Post by esumit » Tue Jun 12, 2012 7:04 am

Andan, Did you try to work on it ? Does it work over TAP ? and Why exactly it doesn't work over TUN ?

Post Reply