Page 1 of 1

UPnP over openVPN, is it possible?

Posted: Tue Jan 11, 2011 7:03 am
by seth
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...

Re: UPnP over openVPN, is it possible?

Posted: Tue Jan 11, 2011 5:03 pm
by gladiatr72
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

Re: UPnP over openVPN, is it possible?

Posted: Wed Jan 12, 2011 4:02 am
by seth
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.

Re: UPnP over openVPN, is it possible?

Posted: Wed Jan 12, 2011 5:41 am
by krzee
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

Re: UPnP over openVPN, is it possible?

Posted: Wed Jan 12, 2011 10:41 pm
by seth
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?

Re: UPnP over openVPN, is it possible?

Posted: Thu Jan 13, 2011 8:07 am
by krzee

Re: UPnP over openVPN, is it possible?

Posted: Thu Jan 20, 2011 4:07 pm
by krzee

Re: UPnP over openVPN, is it possible?

Posted: Fri Jun 17, 2011 11:20 am
by ashlar42
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!