OpenVPN shenanigans

Soldato
Joined
22 Oct 2004
Posts
9,086
Location
Berkland
Ok, so I have a raspberry pi that I have setup following the instructions in this tutorial...

http://readwrite.com/2014/04/10/raspberry-pi-vpn-tutorial-server-secure-web-browsing

I use it for when I am out and about and need to make sure my network traffic is secure, plus a uk IP for Sky Go, and plus to access the NAS on the home network (which is using the same piece of kit via samba).

According to that article, the server setup I have is this...

https://gist.github.com/laurenorsini/9925434

This tells me that I have OpenVPN setup as a Tunnel and not a Bridge.

Now my problem is that I have MiniDNLA running on the same rig (on the pi) to allow me to use my TV to watch videos and photos that are all stored on the connected disk (which is basically the NAS). I can use my Phone and Tablet to VPN back on to the network and then use BubbleUPNP to view those files, however when connected via the VPN, the client doesn't get the broadcasts from the MiniDLNA server and thus the Server doesn't show in the client and I can't view my media when connected via the VPN. It all works fine when connected to the local network when at home.

So, I guess it is because the broadcast of the MiniDNLA server isn't getting pumped over on to the different subnet which VPN clients get connected on.

What is the best way to solve this? Change the IP subnet that the VPN clients gets assigned to be the same subnet as locally connected clients?

Any ideas?

Thanks
 
I'm trying to get openvpn working on cent OS atm and I can't even get the configuration to copy lol I'm rubbish with command line outside of windows lol
 
OP you can't change the subnet of the VPN without breaking it, it's assigned serverside. As for the rest I'll defer to someone who knows, as I've no experience of DNLA/RasPi.

Mike, what VPN provider are you with? CentOS 6 or 7? Which DE? Drop me a mail in Trust if you prefer.
 
Thanks Rain, I dont want to hijack a thread of someone else's.

I am trying to learn how to use CentOS with openVPN so ican run my own VPN server, no provider.

I get to this section:

cp /usr/share/doc/openvpn-*/sample/sample-config-files/server.conf /etc/openvpn

This is on centOS 7, I am trying to run my own openVPN Server

To copy the config and it fails with a synatx I dont get I dont get Linux lol

I am at work atm and will be looking into this on probably sunday
 
Routers are designed to stop broadcasts, so unless the device sending a broadcast is on the same subnet as the device you want to receive it, it won't work. To the best of my knowledge, there's no way to get a device outside of your network to be on the same subnet as your inner network when using OpenVPN, just as there's no way to get a broadcast to be routed (routed is the wrong word) through the VPN to your external device.
 
Back
Top Bottom