UPnP over openVPN, is it possible?

Need help configuring your VPN? Just post here and you'll get that help.

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
seth
OpenVpn Newbie
Posts: 3
Joined: Tue Jan 11, 2011 6:54 am

UPnP over openVPN, is it possible?

Post by seth » Tue Jan 11, 2011 7:03 am

Is it possible to make UPnP work over openvpn? I think the multicast part is what does not work. How do you do it, I have read a lot of misleading stuff out there...

User avatar
gladiatr72
Forum Team
Posts: 194
Joined: Mon Dec 13, 2010 3:51 pm
Location: Lawrence, KS

Re: UPnP over openVPN, is it possible?

Post by gladiatr72 » Tue Jan 11, 2011 5:03 pm

Hello,

Yeah. Multicast. The one time I needed multicast over a vpn link, I ended up going with a bridged connection. I messed with using a routed connection for a couple weeks but to no avail. If you're not using Windows, you might want to play around with the new topology configuration settings. I'm pretty sure the limitation/problem is with the tun driver itself, though.

Anyway...

Good luck.

-Stephen
[..]I used to think it was awful that life was so unfair. [...]Wouldn't it be much worse if life were fair, and all the terrible things that happen to us come because we actually deserve them? -Marcus Cole

seth
OpenVpn Newbie
Posts: 3
Joined: Tue Jan 11, 2011 6:54 am

Re: UPnP over openVPN, is it possible?

Post by seth » Wed Jan 12, 2011 4:02 am

I couldn't make it work with tap. I don't know why, I couldn't even get the vpn part to work properly. Has anyone configured this and made it work?

Also I heard the openvpn folks are working up a fix for this problem. Is there any way to get the source code and try it out ahead of time?

With a linux client, might it just work with layer3? Do I need to add the multicast subnet to a route table or somewhere else? How? Details please I am totally stuck.

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

Re: UPnP over openVPN, is it possible?

Post by krzee » Wed Jan 12, 2011 5:41 am

a tap vpn is the same as a tun one, unless you need a bridge
the only difference is using dev tap on both sides of the vpn, instead of dev tun
you need a bridge when you need layer2 to go to a lan behind the vpn endpoint... otherwise tap is fine.

i havnt heard of what you were saying, but weekly dev snapshots are available from ftp://ftp.secure-computing.net/pub/openvpn

seth
OpenVpn Newbie
Posts: 3
Joined: Tue Jan 11, 2011 6:54 am

Re: UPnP over openVPN, is it possible?

Post by seth » Wed Jan 12, 2011 10:41 pm

I wish I knew what the problem with UPnP is exactly, and who was working on it. I think the only issue with UPnP is the ip multicast traffic. I have gotten a lot of misleading info on this topic. It seems to me that:


#1 - UPnP is all ip multicast ( not ethernet broadcast ), so you shouldn't need anything layer2, correct?

#2 - will ip multicast route correctly through the server? What is needed on a centos server to get the muticast routed correctly to the virtual adapter? What commands add the routes or whatever? Do we need a multicast routing daemon?

#3 - will ip multicast route correctly on a windows client? How to configure this part?

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

Re: UPnP over openVPN, is it possible?

Post by krzee » Thu Jan 13, 2011 8:07 am


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

Re: UPnP over openVPN, is it possible?

Post by krzee » Thu Jan 20, 2011 4:07 pm


ashlar42
OpenVpn Newbie
Posts: 1
Joined: Fri Jun 17, 2011 11:19 am

Re: UPnP over openVPN, is it possible?

Post by ashlar42 » Fri Jun 17, 2011 11:20 am

Hi! :)

Total newbie here. Just wanted to check whether UPNP support has been implemented or if there's any way to make it work when behind OpenVPN connection.

Thanks!

Post Reply