Access outside of network (from a NAS)?

It matters because Roon devices from subnet A are not able / designed to talk to devices from subnet B, regardless of whether it was VPN or not.

I agree that it is not a good idea to have VPN clients with the same addresses as your LAN, and most router / vpn manufacturers agree with this as well, which is why it is so difficult to get VPN clients to use Roon (see above paragraph).

I have a working construction, but you need to invest a little. It’s based on having a VPN tap connection from your remote location to your home network.
“Normal” VPN connections are tun based which means that you create a routed subnet. This type of VPN connection is not suitable for Roon to work. You need a tap VPN connection which is a bridged subnet. In a bridged network you use the same IP-range and that is what Roon needs.
My construction is based on a Raspberry Pi which I use for hosting my VPN tap based server at home and a small portable router (I use a GL.iNet travel router) which I use at the remote location.
For VPN connection I use OpenVPN. That’s why the GL.iNet travel router is usefull: it supports OpenVPN.
You cannot use a IOS or Android device because these OS does not support tap VPN!
I use this construction inside and outside the Netherlands for allmost a year now and it works perfectly for me. I myself use a Apple TV for connecting to the portable router en acting as a DAC to my sound system, but off course you can connect every device to the portable router.
I hope you find this sollution practical for your needs!

1 Like

Curious to know, any of you that have successfully set the Zerotier thing, have you configured any other special settings within the Server or remotes or even your LAN router?

I have set it, I can now ping all devices from / to the Server but the remotes cannot find my Core no matter what.

As I’m out of ideas, it would be greatly appreciated if you can share your configurations.

Very new to Roon but also an Apple Consultant who loves Synology and Plex.

Saw the post by Jean-Christophe Amé regarding remote access and within a few minutes was able to access Roon by using the Synology L2TP VPN Server. My home network is on a 10.0.1.x subnet and set the VPN Server to create a 10.0.2.x subnet. Connected instantly.

Can’t wait to do more testing in the car and on the go.

Keep in mind, Roon does not support any remote uage or VPN setup. If you have any questions or comments it should be under the Tinkering section.

Merci Jean Christophe,
Je ne pense pas que la version 1.8 ne change quoi que ce soit?

Thanks JC,
Is the 1.8 version troubleshouting anything?

I have it semi working.

Setup a wireguard VPN on a raspberry pi. On home network.

Wireguard has clients for both windows and android.

When I activate the VPN tunnel from my office or the mobile I have full access to Roon and it’s functions, the only thing missing now is roon core does not recognize anything remote as a playback device. Just the devices on the local network. I can search and play stuff on my home Denon though driving in the car.

So I’m close just need to figure out the final piece. As a BTW, when I activate the VPN and I’m on the laptop in my office I can attach to the Intel NUC that I use as the Roon core via remote desktop . So I can remote desktop in open roon play a song and it plays out of the remote laptop. Sounded pretty good too. So for less then 100 dollars us for the pi VPN server. It’s a not very elegant way of making this work but it sounds like some of you have this actually figured out.

I do have a Synology NAS 920+ that all my media lives on but I don’t use that for the Roon core or the VPN . Maybe that’s the route?

And then the heavens opened up and you could hear the voices of angles!!

Dude, thank you!

Up and running, no extra gear. The zeroTier was aces!

Had to change course but hey gotta be flexible. Changed out the NUC with an old Lenovo Thinkcenter mini that’s about same size as NUC. And it’s still an i7 windows box. So now, remote laptop can connect to Roon server at home and also works on Google pixel 2XL android mobile.
Next step take pi that I was using for VPN put ZeroTier on that ,add a dac board and see how well that works as remote endpoint this way I don’t tie up laptop.

Thx again to all who recommended the zeroTier route. Really simple , easy and no extra cost.

2 Likes

Bonjour,

Pas de soucis avec la version 1.8.

No with 1.8 version still working fine. I can connect without any trouble with my Mac or my phone from any network (university or orange through the phone). You just need a good connection as the data are downloaded continuously (compare to Qobuz where each track is first dowloaded then played).

Sincerely,
Jean-Christophe

ZeroTier worked without a hitch. Setup guide is here after making an account. It took me less than 5 minutes to make this work after spending weeks fighting with my Raspberry Pi to bridge Wireguard/OpenVPN and local subnets correctly.

However, if you are using ROCK or cannot install ZeroTier on the computer that is running the Roon Core you will need to enable bridging or custom routing (links are included for their respective option). Custom routing is much easier but both require a bit more work to get setup than just install and listen. Both options require a Linux based computer: either a full x86 Intel/AMD system or even just an ARM based Raspberry Pi.

There is a bit of a lag compared to just running on the internal network as you are routing network packets through your internal network, over WAN, and then onto whatever local network your phone is running on (and vice versa). Roon still works flawlessly within my own home network as packets over your local subnet are still routed like usual. Furthermore, WAN packets from the Core machine not destined to the ZeroTier client still are routed through the network adapter. i.e., if you run a speedtest you get the full speed of your ISP as your WAN packets are routed through just like normal.

Pictures:


I agree, the ZeroTier setup was ridiculously easy. my roon core is now running on an old lenovo thinkcenter mini computer, its tiny, meant to attach to the vesa mounts on the back of a monitor. Still has an i7 chip and 16gb of ram. So put zerotier client on there, and then on all my endpoints that need to work outside my network mainly my windows laptop at work and my mobile phone (andriod) for in the car. works amazing.

next set is to setup a raspberry pi with zerotier as a remote endpoint with a Dac built-in to remove my laptop from the equation.

onward an upward!

1 Like

With QNAP is easy to.
You have to download on the Iphone QVPN (qnap app on the app store) and it does the work but
QOBUZ doesn’t work you only have access to your storage.

Does someon know how to do (for QOBUZ)?

With ZeroTier I have both storage and Qobuz working just fine :).

1 Like

Same here, Qobuz account accessed through Roon.

Final update.

Raspberry pi-4 running rasbian
Hifiberry dac+pro
ZeroTier

Pi configured as a roon-bridge

Connected outside of home network and running Roon perfectly. DAC sounds nice.


1 Like

Hello there. I have been looking through the various threads and have seen/tried several of the methods described to access Roon when away from home. Some work, some don’t. For those methods that work, there’s still things that don’t work consistently and I was hoping someone here might be able to shed some light on the subject.

Not sure why people teaching about VPNs never address the router, but for me, I had to enable VPN in my router for anything to work. I had a Netgear Nighthawk R8000 and it only allowed OpenVPN. Once I got that setup and uploaded the cert to my phone, viola! It worked. It worked even better when I connected using TCP rather than UDP. However, it only works on cellular networks and public wifi. It doesn’t work when I’m on wifi at my friend’s house or visiting family.

Then I replaced my router w/ Unifi’s UDM Dream Machine, thinking the flexibility would allow me to try more options (like ZeroTier); but alas, only using their VPN using L2TP works and it only works on cellular networks, no wifi whatsoever.

I haven’t been able to get ZeroTier to work on either router, despite getting it installed on all my devices and communicating to each other on my home network.

Is there anyone w/ experience in this area that could shed any light on the subject? Any websites or YouTube tutorials one could refer me to? I’d sincerely appreciate it! I really want to work this out because I started down this road and would like to see it through if I can.

My Roon core’s on a QNAP NAS. I have an iPhone 11 pro and still using the Dream Machine router.

Thank you!

Hey all,

Connecting by VPN is not officially supported, and as such considered Tinkering. So, I am moving this thread to that section.

Additionally, since that is where users who are setting up remote access go to discuss such; you might get more responses.

Hi Jean-Christophe,

It is great to hear that you succeeded with this!

I tried to follow your instructions and setup Synology VPN Server, however I am obviously doing something wrong either on port forwarding or on my iPhone. Could you please provide a bit more info for these two steps. For example: How did you setup forwarding on your router? Or How did you setup VPN on your iPhone?

Regards

Actually, after few hours of looking into this - SUCCESS!

I found Synology videos of how to setup VPN server an connect iOS device to it, and from there it was relatively easy ride.

Thank you for your information.

Regards