VPN: step-by-step

Hi,
This is my 1st post in the ROON community so be patient with me…
I have spent a few weeks tinkering with my 2 Roon ROCK NUCs. I decided to convert both of them to LINUX Boxes and decided to install the latest Debian version. I subsequently install OpenVPN on the same box to attempt to get ROON to talk to my iphones while on the road…

I found the way to set this up with 2 OPENVPN interfaces running on the ROON Box at the same time; one for TUN and one TAP. My laptop uses the bridge and my iPhone the tunnel. I can now say that both works. I can access all my devices, surf the Internet AND use the ROON remote. Below is a snapshot on how I configured this setup.

DD-WRT LAN Router w/ 192.168.0.1 Gateway

Roon Server on Debian Linux

OPENVPN Server on Roon Box with br0 @ 192.168.0.2
TAP interface through 192.168.0.2
TUN interface through 10.8.0.1

LAN DD-WRT Router iptables

iptables -I FORWARD -s 10.8.0.0/24 -j ACCEPT WAN_IF="$(ip route | awk ‘/^default/{print $NF}’)" iptables -t nat -I POSTROUTING -s 10.8.0.0/24 -o $WAN_IF -j MASQUERADE

LAN DD-WRT (Setup – Advanced Routing - Static Routing)

Masquerade Route (NAT): Select

Destination LAN NET: 10.8.0.0

Subnet Mask: 255.255.255.0

Gateway: 192.168.0.2


Setup both TUN and TAP interfaces on OPENVPN

Can access Roon on both interfaces with Laptop and iphone

I can now listen to my ROON box while in the car… Hurrah.

Regards,

3 Likes