Remote connection via VPN - [Resolved] but ongoing discussion

(Philip Giordano) #143

I made my home network a different subnet than what I’d usually see anywhere I might want to use my VPN. Moms, gym, etc If it makes yiu feel any better I cannot fir the life of me get my iPad to VPN in but my iPhone works perfectly.

(Bart Verhoeven) #144

I think what he meant is that the devices that VPN in, get assigned an IP address in a different subnet than when you are on the local network without the VPN. He is not referring to IP addresses of the network from which you VPN.

(Philip Giordano) #145

I think i understand now Bart, thanks. My VPN server lets me assign a range where the first three numbers are the same and I use .20 thru .30 for the VPN range. Not sure if any of this is relevant, just trying to help.

(Bart Verhoeven) #146

That explains why it is working for you. Roon doesn’t work across subnets (or at least not out of the box). In your case the router assigns the device that VPN in, an ip address in the same subnet. Hence why it works for you.

#147

Yep, as I suspected! Nice that you’re able to get in on the same /24 subnet. Strange it’s not working for you on your iPad. Any change you’re running a really old iOS version on your phone?

(Niccolò Terzi) #148

news on this side:

1 Like
(David Melvin) #149

Core Machine (Operating system/System info/Roon build number)

Imac 2005

Network Details (Including networking gear model/manufacturer and if on WiFi/Ethernet)

Sky

Audio Devices (Specify what device you’re using and its connection type - USB/HDMI/etc.)

Pi , Allonboss
Onkyo 8150
Music on Synology Nas

Description Of Issue
No to sure where to put this question.

So frustrated that there is no news in any Mobile streaming, would be awesome if this could be possible… Most of my music listening I’m away from home… And see I’m not alone with that…m Any news!

Firstly , I understand that VPN isn’t officially supported.

So whilst I patiently wait for a streaming solution, I’m trying to get a remote VPN connection, and looked at many conflicting and confusing ideas, on here.

My imac is running the core… My music is on a Synolog NAS, and I’m trying to stream over 4g to my Android 6t.

I have installed open VPN on my NAS…
With WiFi on, and VPN, I can see and control the core, but can’t get Android to play as an end point, it is seen, but fails to play audio, just skips through album covers in the queue.

With VPN disabled, all is good, and phone works as an end point.

With VPN on, and over 4g, can’t see core, and get enable WiFi notification in the roon app.

I can ping the core server.

Core can’t see phone.
………
Questions.

I see people mentioning using openvpn, and setting it into bridge mode… How?

Is the issue due to VPN, giving me a different grouped ip address, compared to the LAN i.e. 192.168.1.x for core and 192.168.2.x for phone.

How do you get passed the “enable WiFi” screen

Really need to get this to work…

Must say New to Roon, so impressed,!

Many thanks

(Mr Fix It ) #150

There is a whole thread on this in #tinkering so I expect someone will move this over to it here Remote connection via VPN - [Resolved] but ongoing discussion

1 Like
(David Melvin) #151

Are you using the Ubuntu Server or desktop?

(Rob Kirkbride) #152

Just the desktop version. 18.04 LTS.

Note unless I have a very good internet connection remotely, it’s not very reliable as other people have stated. I don’t believe there’s any way around this unless some kind of local buffering is introduced by Roon.

1 Like
(YR Chang) #153

As before’s information the key issue is due to Roon&IOS should be in the same subnet.
I setup a VPN server in Synology and used l2tp/ipsec for the VPN connection. Also it need to fix IP assigned issue in VPN configuration.

Here is what I change in the config file.
Modify IP range in this file.
–>/usr/syno/etc/packages/VPNCenter/l2tp/xl2tpd.conf
modify this line
–>ip range=172.16.1.x-xx(change to your non-conflicted IP in Roon subnet)

restart the VPN service and iOS/Macbook can get streaming from Roon via VPN.

#154

Just to add my environment if it helps in some way.

Mac/iOS on the same subnet
Router: RTX1210 (VPN=L2TP)

I was able to play on my iOS devices over WiFi/Cellular, but since version 1.6, playback on iOS devices does not work (still those devices can find the Core and work properly other than playing on iOS devices).

So, I believe that the problem is related not only to the subnet, but also to the ports used for RATT protocol.

(John Walker) #155

Ouch - same here. VPN no longer working to play on remote iOS devices since build 416 - which is the only reason to use VPN, really :frowning:

(Max Mackenzie) #156

here the same :frowning: no iOS play anymore somebody??? any Luck? here is my story same IP range Same net mask … worked like a charm … now not anymore
hu May 23 15:55:43 2019 : sent [CHAP Success id=0xc9 “S=CA74B51405A53243966A0F4E212FA18AE0CFDFB4 M=Access granted”]
Thu May 23 15:55:43 2019 : CHAP peer authentication succeeded for vpnuser1
Thu May 23 15:55:43 2019 : DSAccessControl plugin: User ‘vpnuser1’ authorized for access
Thu May 23 15:55:43 2019 : sent [IPCP ConfReq id=0x1 <addr 192.168.1.221>]
Thu May 23 15:55:43 2019 : sent [ACSCP ConfReq id=0x1]
Thu May 23 15:55:43 2019 : rcvd [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
Thu May 23 15:55:43 2019 : ipcp: returning Configure-NAK
Thu May 23 15:55:43 2019 : sent [IPCP ConfNak id=0x1 <addr 192.168.1.134> <ms-dns1 192.168.1.221> <ms-dns3 192.168.1.221>]
Thu May 23 15:55:43 2019 : rcvd [IPV6CP ConfReq id=0x1 ]
Thu May 23 15:55:43 2019 : Unsupported protocol 0x8057 received
Thu May 23 15:55:43 2019 : sent [LCP ProtRej id=0x2 80 57 01 01 00 0e 01 0a c8 e7 a9 00 2f b6 0a 0c]
Thu May 23 15:55:43 2019 : rcvd [LCP ProtRej id=0x2 82 35 01 01 00 04]
Thu May 23 15:55:43 2019 : rcvd [IPCP ConfAck id=0x1 <addr 192.168.1.221>]
Thu May 23 15:55:43 2019 : rcvd [IPCP ConfReq id=0x2 <addr 192.168.1.134> <ms-dns1 192.168.1.221> <ms-dns3 192.168.1.221>]
Thu May 23 15:55:43 2019 : ipcp: returning Configure-ACK
Thu May 23 15:55:43 2019 : sent [IPCP ConfAck id=0x2 <addr 192.168.1.134> <ms-dns1 192.168.1.221> <ms-dns3 192.168.1.221>]
Thu May 23 15:55:43 2019 : ipcp: up
Thu May 23 15:55:43 2019 : found interface en0 for proxy arp
Thu May 23 15:55:43 2019 : local IP address 192.168.1.221
Thu May 23 15:55:43 2019 : remote IP address 192.168.1.134
Thu May 23 15:55:43 2019 : Received protocol dictionaries
Thu May 23 15:55:43 2019 : Received acsp/dhcp dictionaries
Thu May 23 15:55:43 2019 : Committed PPP store
Thu May 23 15:55:43 2019 : Received acsp/dhcp dictionaries
Thu May 23 15:55:43 2019 : Committed PPP store
Thu May 23 15:55:43 2019 : l2tp_wait_input: Address added. previous interface setting (name: en0, address: 192.168.1.221), current interface setting (name: ppp0, family: PPP, address: 192.168.1.221, subnet: 255.255.255.0, destination: 192.168.1.134)

(Oliver Lim) #157

My iphone play via VPN is still working. L2tp on a Synology Nas using Synology VPN server and iOS standard VPN connection