I have specified a custom server address URL to be published to app.plex.tv, without any luck as it seems like it’s not working properly at least.
I can only achieve a indirect connection which is not what I want.
What are the IP’s I need to route though my non-vpn interface for it to detect my non-vpn IP address or how should I get the custom server address working?
app.plex.tv, uses Cloudflare CDN, so I have no idea what IP’s it’s ACTUALLY connecting to publish the information.
Does it need to port too as I have it set to “https://domain-name:port-like-shown-in-remote-access-page”.
so when you connect are you using :14993? also some routers do not like to loop back, i would try from a phone set to data and not wifi also just to insure its not a loop back issue, i also assume you can connect to 192.168.2.50:32400 with no issue?
When I’m connecting I’m connecting with a Android device (not on WiFi) so I’m not entirely sure what it’s using as the only thing it says, is indirect connection.
This is what I were talking about, as I would need the correct IP/IP’s so the routing would work correctly without the VPN and disabling it is not an option.
so your trying to get a direct connection to your plex server not tunneling through the vpn. is that correct? if so you just need to know your external ip of where the server is running, map the port to the internal address and test. im not sure where the vpn comes in unless i am not understanding your setup.
Port forwarding on the VPN server side, is not supposed to work and that’s not what I’m trying to do. I’m trying to put rules in place so the plex.tv server publishing traffic goes outside the VPN.
Network topology is as follows:
Plex Server (192.168.2.50) -> 192.168.2.1 (Router and VPN client) -> VPN tunnel -> Internet
Yes, I can, but there’s reasons why I choose not to.
Only the Plex Server’s traffic is set to go though it.
What do you mean by that firewall question?
router, what is the router. you will need to see if you can specify on your router an internal ip that does not pass through the vpn, your incoming is probably working, but when it tries to go back out it trys to travel though the vpn and doesn’t work. you have to see if you can set a rule that states this internal ip does not use the vpn for traffic.
so you want the plex server outbound traffic to go through the vpn?
I believe you have misunderstood as the end result should be that other traffic originating from Plex Server should ALWAYS go though the VPN and the Plex traffic can go outside it which is possible if I know the destination IP which I don’t as I kinda doubt it’s going to the Cloudflare CDN which app.plex.tv address is using.
Plex traffic originating from the Plex Server, should NOT go though the VPN. Everything else from that server ALWAYS should.
so all traffic from the server goes though the vpn, except traffic for plex, now i understand. some routers need routes sent in order. ie if yours works top down, it will hit the 1st and not continue to the 2nd. sending all traffic to the vpn including traffic you want to bypass. And yes, you would need the destination ip. another issues, is you need a valid host name and cannot connect via direct ip.
That last part is not an issue, I have a valid host name / domain that points to the WAN IP address of that router. However, I dunno why it’s not being able to work as intended.
I have set custom server address urls to the plex settings, but I don’t see it doing anything different. Ideas on what syntax it should be?
personally i would disable the vpn entirely. get it working that way so you no it works with a custom domain etc. then reenable the vpn and get it working then.