synfinatic / udp-proxy-2020

A crappy UDP router for the year 2020 and beyond
MIT License
106 stars 7 forks source link

Running in a vm #144

Closed theikid closed 8 months ago

theikid commented 9 months ago

Hi there,

i run my roon core on a linux vm on truenas scale.

when connecting using wireguard i cannot use my computer as an endpoint. The udp proxy seems the way yo go but i dont know if i should install it on the same vm of my roon server or maybe on my ubiquiti router ?

synfinatic commented 9 months ago

Not a lot of information, but yeah the router is probably the right choice.

theikid commented 9 months ago

Not a lot of information, but yeah the router is probably the right choice.

Yeah sorry I could have gone a bit deeper.

I run wireguard on my nas running truenas scale. Roon Core is running in a vm and locally with all port forwarding it works like a charm. When connecting using wireguard from my laptop while in my office I can access my Roon Core, I can launch music on my amplifier and remote control other devices at home but I would love to listen to the music on my laptop while at the office.

As I just replace my isp box with a ubiquiti gateway I think that would be the perfect place to run the relay, I gonna try.

synfinatic commented 9 months ago

oh, I don't think it will work on the gateway then. You say you're using port-forwarding so you have a dedicated subnet for the VM's and are using NAT?

Anyways, you will want udp-proxy-2020 to run on the same host as the wireguard server since it has to route traffic over the wireguard network.

theikid commented 9 months ago

oh, I don't think it will work on the gateway then. You say you're using port-forwarding so you have a dedicated subnet for the VM's and are using NAT?

Anyways, you will want udp-proxy-2020 to run on the same host as the wireguard server since it has to route traffic over the wireguard network.

I'll move my wireguard from my truenas to my router then that should be better to let my router handle all network stuff. Thanks for your help, I'll report back asap.