Nginx vpn internal domains

How can I expose a service (Manager) only over Netbird VPN using a custom internal domain name? I have a dedicated server running Nginx and Docker containers (including coturn, netbird-agent), and multiple VMs also running Docker (+ containers and netbird-agents) using multipass. One of the VMs hosts a Django service accessible via manager.domain.com, with Nginx on the dedicated server proxying to VM_IP:8080. I want to remove public access to manager.domain.com and make Django only accessible through Netbird VPN using manager.domain.internal. When users are connected to the VPN, they should be able to type manager.domain.internal in their browser and access Django. In Netbird, i can see the Django VM as a peer with the correct Netbird IP and hostname (manager.domain.internal), but im not sure what the best approach is to: - Set up DNS resolution so manager.domain.internal resolves to see Django website. (no experience with DNS) - Ensure Django traffic routes securely and only through the VPN. What's the best way to achieve this using Netbird's DNS or another internal method? * in netbird settings wildcard we have *.domain.internal
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?