So not sure if you’re running pfSense on both ends or how technical you are… If you’re up for checking out the code and building it yourself you’ll want to check out the site-to-site branch of code:
git clone https://github.com/synfinatic/udp-proxy-2020.git
cd udp-proxy-2020
git checkout site-to-site
make help
# read help to figure out the correct target name
make <target>
Depending on what platform(s) you need you may need Docker and/or VirtualBox/Vagrant.
Otherwise, you can tell me what OS/Hardware your two ends are and I can see about getting you some binaries.
So with that said:
Run udp-proxy-2020 on the RoonCore/server side as normal. Don’t forget to use the correct port: 9003 for Roon’s discovery protocol
Run udp-proxy-2020 on the Roon client side, but you’ll need to add another flag: --fixed-ip ovpnc2@x.x.x.x where x.x.x.x is the IP address of the OpenVPN tunnel interface on the other end.
This is a little hack honestly, and I really want to avoid passing in the --fixed-ip argument, but since I have no good way of testing your config locally, this would at least ensure I’m on the right path.
I should mention, if you can leave any feedback on github that would be preferred as it’s much easier to track everything there: https://github.com/synfinatic/udp-proxy-2020/issues/41 If that’s not possible for you, no worries, I’ll deal with it here.
I am not ready to take on building it myself at the moment, but both ends are pfSense running on amd64 hardware. If you can make a binary for that it would be great!
I am not using it for Roon, but for a client broadcasting on UDP port 1456.
Will continue giving feedback on github.
“out of memory”… well that would explain it. Your router has only 512MB of total RAM. Sounds like you’ve run out. I might be able to shave some memory usage off by building a 32bit ARM version, but due to the need to create a cross-compile toolchain it might take a day or two. Also, no idea if that will actually help you.
Are you running services on your router you don’t need?
I have about half free. Not running any QOS/Game accelerator. Even my Open VPN is not running there but on my synology (I might be confused, your process must run on the router or whatever runs the VPN ?).
So a 32 bits version might be handy, no rush whatsoever … Those Asus routers are quite popular actually, I would be shocked if I was the only one having one in combination with roon.
Of course, if there are other alternatives to use OpenVPN with Android phones and Samsung then it could be another option, I have not been able to fully read the ‘other’ vpn thread
If your OpenVPN server is your Synology NAS then you’ll need to run udp-proxy-2020 there. Your Asus router only sees the encrypted packets and can’t see the packets from Roon running on your phone/etc.
If you can’t see the tun0 interface, then you can’t use udp-proxy-2020 in this configuration. You’d have to figure out how to run both in the container. Or just run OpenVPN on your Debian box without Docker (apt-get install openvpn or whatever).
Hai. I am following this topic with great interest. I have a rpi 4 ubuntu server 20.04 with Wireguard. This is going well. I just don’t understand how I can install udp-proxy-2020 and configurate on this. Is there someone who can guide me in this?
As Aaron wrote, we can help with more specific questions.
On my Rpi4 with dietpi, I have installed golang package, downloaded the sources from github, compiled the application, copied the binaries to a “production” directory under /opt and created a simple script for sysconfig to have udp-proxy-2020 starting automatically at boot.
Thanks in advance Aaron and Francesco. I’ll try to be more specific. I am not that skilled at programming. I am gradually starting to learn some terms. After a lot of trying I finally got WireGuard working under Ubuntu 20.04 server on the Raspberry Pi 4 (arm 64). My question now is what steps should I take. I understand that I must first download and install Golang package for ubuntu (arm 64).