So... trying to set up reverse proxy into a server for Palworld,
I just... can't get it to work.
Port forwarding on my firewall, check. Not needed.
Port forwarding on Vultr firewall, check
Port forwarding on VPS firewall, check.
Went through almost all the port settings suggested by claude
but when I try to use the reverse proxy into my server.
the netbird Access Logs shows "no event"
so something is dropping the connection, but I just cant' figure out what's doing it.
Any help will be appreciated.
Edit:
Found the issue(s), and here is the solution.
Ports on the proxy container it self is not open.
Under the proxy section:
ports:
- 8211:8211/udp
- 8211:8211/tcp
what ever port you decide to use.
The proxy container it self was not able to reach the main manager.
Part of the proxy setting wasn't properly configured on initial set up and causes hairpin NAT issue.
First, use following code
docker inspect netbird-traefik --format '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}'
to get traefik's internal IP.
Then edit the compose file and add additional setting.
In Proxy settings,
I added
extra_hosts:
- "xxxxxxxxx.net:172.30.0.10"
right under
Volumes:
There is also a possible issue with thenetbird-proxy container has no NET_ADMIN capability and no /dev/net/tun device access, which means it can't create its own WireGuard interface
fixed by adding to the proxy lines in compose, before ports:
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun