Plex and express VPN

Server Version#: newest
Player Version#: newest

i cant get remote access to work lately with vpn. vpn must be on because of sonar. ive tried split tuneel and put plex through it but nothing. i also tried this https://www.cuttingcords.com/home/2014/11/8/protecting-your-privacy-with-vpn
still nothing. i just need remote access to work while i have the vpn on ive also tried ipvanish

I’m having the same troubles since some weeks. Also don’t know how to fix this!

The answer is port forwarding

I have port forwarding and everything was working fine with VPN on. But suddenly, I mow cannot stream remote with VPN on. Shows not working. Try to connect and nothing. As soon as I turn off my VPN, I get not remotely connected. Just started yesterday. Using PIA and have used that for five years now. Any other ideas

It is not, because without VPN on everything works. Turning it on, and after a while PMS will automatically choose a new IP address…

You need to have port forwarding set through your router

By default, Plex publishes the public IP address on which your server is reachable.
Starting a VPN will block that public IP address.
Instead of publishing your public IP, you can also publish a URL.
Go to Settings > Server > Network > Custom server access URLs
Here you can fill in a dynamic domain name.
Dynamic domains are freely available with several dynamic domain providers.
Run a background app of this provider to keep the IP address of this dynamic domain in sync with your public IP address (with VPN on or off)

For more details:
https://support.plex.tv/articles/200430283-network/

Custom server access URLs
A comma-separated list of URLs (either HTTP or HTTPS), which will be published to plex.tv for server discovery. This can be very useful in a few cases: if you’re using a VPN to get back home, if you’re using a reverse proxy in front of the media server, or if your networking configuration is otherwise unique. For instance, if you have your own custom domain with subdomain, you might add:

https://plex.mycustomdomain.com:32400
Tip!: If you don’t specify a port, the port from your Remote Access page will automatically be used.

2 Likes

Thanks,

But it doesn’t make sense to me. Those kinds of apps synch the VPN IP with the hostname you’ve created. So when Plex starts to contact the hostname, it has the VPN IP. That’s the whole point right, that it needs to contact your real IP, not the VPN IP…
I’ve tried it now for some hours and I’m having the same issue. Also I’ve tried using DNS, with my static IP address. Also that doesn’t work, because it keeps changing the IP address to the VPN IP.

I don’t know where your Plex server gets the IP address to advertise on Plex.tv
It does not use your VPN address.
I set it up as described and it works for me. Both with VPN off and on.
When I left the Custom server access URLs blank, I could only reach my Plex server from outside with VPN off.

zombototomy, I do have port forwarding and it was running with VPN on up to a few weeks ago. Nothing changed except maybe an update from Plex. I really would like it to be that way again. I used to leave VPN on 24/7 since I have fiber

Any other ideas
Thanks in advance

I, too, am having issues with VPN and Remote Access with the recent updates of Plex. Before a couple of weeks ago, it worked without flaw. A recent update most of have changed something.

Looks like Plex has increased the frequency they check/resolve the remote access ip which is detecting/changing the default gateway when you start your VPN. You can either setup external DNS and use the Custom Server Access URL or move your VPN off your server or to a docker/VM

I don’t have a VPN on my server or I would try https://external_ip_of_server in the customserver access url to see if it worked.

I am also having the same issue and would love to know how to fix. I am running a plex server on fedora using expressvpn on the server. It was working flawlessly, now nothing works remotely.

Same issue, only started happening recently. And yes I do have port forwarding setup.

I decided to make a quick how to

1 Like

I have same thing, Mine picks up on one of the VPN IP’s Pri or Sec. I have to unlink my pri and Sec VPN connection (Turn VPN Off) Then get Plex to reestablish remote link by refreshing Plex remote… hope there is a fix for this somewhere… Just FYI…

It would be nice if that was a English link you provided… Just some more info

If you look at the tutorial link. I tell you it’s in Swedish and list all the ip’s you need to add to it. I didn’t make the program or website. Sorry. But google translate will fix it up nice for you.

OK, Thanks, I’ll look…