Hi all,
I have a raspberry pi that I have setup following the instructions in this tutorial...
http://readwrite.com/2014/04/10/rasp...e-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 broadcasts 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
Broadcasts on LAN to VPN clients
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.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 3
- Joined: Tue Apr 14, 2015 8:51 pm
- maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
- Contact:
Re: Broadcasts on LAN to VPN clients
broadcasts pass only when using tap interface,thus you have 2 choices:
1)use openvpn on pi and use bridging
2)use openvpn on NAS itself and use tap in routing mode.
Michael.
1)use openvpn on pi and use bridging
2)use openvpn on NAS itself and use tap in routing mode.
Michael.
- Traffic
- OpenVPN Protagonist
- Posts: 4066
- Joined: Sat Aug 09, 2014 11:24 am
Re: Broadcasts on LAN to VPN clients
Documentation:maikcat wrote:1)use openvpn on pi and use bridging
- VPN Type
- /open-source/documentation/miscellaneous/ethernet-bridging.html
- /open-source/documentation/miscellaneous/76-ethernet-bridging.html#linuxscript
- Note: The "linuxscript" requires that you add default gateway yourself.
-
- OpenVpn Newbie
- Posts: 3
- Joined: Tue Apr 14, 2015 8:51 pm
Re: Broadcasts on LAN to VPN clients
OK, so I have successfully setup a bridge and tested the connection using a windows machine on a separate network. That works fine.
Next problem is,vthat I am using an android device. Openvpn on android doesn't support this setup.
Any ideas?
Next problem is,vthat I am using an android device. Openvpn on android doesn't support this setup.
Any ideas?