I use NordVPN on my laptop (OpenSuSE tumbleweed) while travelling, and Tailscale to reach my home server (e.g. Jellyfin, Navidrome, SSH). On their own separately both worked fine, but with Nord connected I couldn’t reach anything over Tailscale. Hopefully this is useful to other self-hosters, and should work with other VPNs.
Tailscale is an opensource secure mesh VPN; I’m using it with their servers co-ordinating my connections. You can also co-ordinate yourself with Headscale, the opensource self hosted server; same principles would probably apply but you’d likely need a fixed IP address for the server.
To fix Tailscale working with Nordvpn, you just need to add Tailscale’s subnet ranges and port to the allowlist. This allows direct connections to function and also co-ordination. This works on Linux, and likely Mac and Windows. You can’t have them work together on Android or iOS though because both only allow one VPN service at a time.
In a linux terminal:
nordvpn allowlist add subnet 100.64.0.0/10
nordvpn allowlist add port 41641
nordvpn allowlist add subnet 192.200.0.0/24
The 100.64.0.0/10 subnet range is for the IP addresses Tailnet assigns your devices and is essential. The port 41641 is also essential.
The 192.200.0.0/24 subnet range is for the IP addresses Tailnet’s co-ordination servers and may be optional; things worked without this BUT I got a warning on using tailscale status. You could not allow this range, and occasionally turn off nordvpn, but it’s a small range of IP addresses, and the traffic to Tailscale is encrypted. However the metadata would be visible to someone, so they could tell you’re using tailscale (but not access the data).
I also have nordvpn’s meshnet turned off; that apparently can conflict with tailscale as it uses the same 100.64.0.0/10 subnet:
nordvpn set meshnet off
The same principle should apply to other VPN providers. Tailscale’s documentation also provides the fixed IPv6 range for the co-ordination server. May be useful with other VPNs, but NordVPN at least does not use IPv6 in it allowlist: 2606:B740:49::/48