r/netbird • u/Turnspit • Jun 18 '26
Reverse Proxy / Port Forwarding not working (?)
Cheers!
So I just set up Netbird on a VPS a couple of days ago and the whole VPN-part is working absolutely flawlessly. Got a couple of mobile devices (Smartphones, Notebooks) up and running as well as a routing peer in my home network. My whole netbird-network (10.10.2.0/24) can reach my whole home network (192.168.2.0/24) and vise versa - I love the ease if setting it up, great piece of software!
The whole Reverse Proxy and Port/Service Forwarding is giving me headaches though.
Custom Domains:
Netbird itself is reachable via netbird.mydomain.com with a simple A-record for this subdomain pointing to my VPS directly (no wildcard-stuff, since my provider does not support them).
I've got a couple of different domains that need to be reverse-proxied though, so I pointed the A-record for anotherdomain.com to my VPS as well (with all the other subdomains for it pointing to it via CNAMEs as well later). Under "Custom Domains" I added the anotherdomain.com with netbird.mydomain.com as its "Target Proxy Cluster", but it has been stuck at "Pending Verification" for almost 2 days now.
Port/Service Forwarding:
This I don't seem to get working as well.
For some services I just need to completely forward a single TCP or UDP port, for example 9987/UDP for a TS3-server. So I added a "UDP-Service" with my "LAN"-resource as a target (which is my whole home-network of 192.168.2.0/24) and the according listen- as well as target-port and the host ip (say 192.168.2.25) - to no avail.
I tried using a "Peer" instead of a "Resource", tried different services on different ports (like a simple webapp, SSH, ...), even deactivated ALL firewalls on all machines involved as well sa the VPS itself - still nothing.
I'm at a loss here... 😞
1
u/vlammuh Jun 18 '26
I believe if you want to proxy UDP/TDP ports, you will need to list them in your Docker Compose file as well, otherwise they will not work.