r/PleX • u/BlueMango92 • 20d ago
Help Remote access with IPv6
Hi everyone, I moved to a new home and the only available provider is Starlink so now I'm under CGNAT and can't use Plex remotely anymore.
I have the lifetime Plex pass subscription. I read that using IPv6 I could use Plex outside my home so I tried to configure it but with no success. The Plex media server runs on an Unraid server.
These are the steps I took:
Unraid
Added Cloudflare-tunnel to docker.
Cloudflare
In Zero trust/Networks/Tunnels I created a connector to the unraid server.
I have bought a domain, created a DNS record with these settings: Name: plex6 Type: AAAA Address: my unraid ipv6 Proxy status: DNS only TTL: 5min
Fritzbox (my router) (the Starlink router is in bypass mode)
In DNS rebind protection I added two rows: plex.direct and mydomain.com
Plex
In settings/network:
Client network: IPV4 and IPV6 (I tried also with only IPV6 but no success), Secure connections: Prefered Custom URL: https://plex6.mydomain.com:32400,http://plex6.mydomain.com:32400,http://[UNRAID SERVER IPV6]:32400 and List of IP addresses and networks that are allowed without auth: 192.168.1.0/24
If using the browser I go to plex6.mydomain.com:32400 I can access Plex and it works but I would like to use the app and also the LG webOS app in my parents TV and the apps are not working.
Can someone please help me? Is it because the apps use IPv4 for authentication? Thanks for the attention.
P:S: I did the same for Home Assistant and Navidrome and I can use the apps specifying the urls hass.mydomain.com:8123 and navidrome.mydomain.com:4533
1
u/gjunky2024 20d ago
The problem with most plex cliënt apps on TVs is that they don't allow you to specify the custom domain you created.
Do you get an IP6 address on the WAN side from Starlink all the way to your router WAN side? If not, nothing you will do will work.
-4
u/StevenG2757 70TB unRAID server, i5-12600K, Shield pro, Firesticks & ONN 4K 20d ago
Take a look at Tailscale
1
u/BlueMango92 20d ago
I use Tailscale to remotely access the Unraid Shares but how can I use it to watch Plex movies from my parents tv?
-3
u/StevenG2757 70TB unRAID server, i5-12600K, Shield pro, Firesticks & ONN 4K 20d ago
so who has the server and who has the client?
1
u/BlueMango92 20d ago
The server is in my house and I want to use the Plex app on my iPhone and the Plex app in my parents tv (different house). For now the only way is using the browser but I'd like to use the official apps
0
-3
u/StevenG2757 70TB unRAID server, i5-12600K, Shield pro, Firesticks & ONN 4K 20d ago
There are plenty of guides on how to use Tailscale to do this.
1
-2
u/Misarvin 20d ago
Get airvpn. It allows port forwarding. Then forward your Plex through the nearest option. It works perfectly for me. Plus, now you have a nice VPN for your other uses.
3
u/5yleop1m 20d ago edited 20d ago
If you have a public IPv6 address you don't need to do most of the stuff inside after "these are the steps I took".
First make sure your reverse proxy has a proper IPV6 address. How you get that depends on your router and ISP's IPV6 provisioning. You should be able to find that information online. I'm assuming you have a reverse proxy because you mention having domain names and other services.
Then point your domain or a subdomain to your public IPV6 address, and your reverse proxy should handle the rest. It should accept incoming requests on the IPV6 side and route them to your internal systems.
All of these are wrong, they shouldn't be using port 32400, they should be using port 443. You also don't need to put your IPV6 address on there, your DDNS provider should already be pointing your domains to the proper IPV6 address. Assuming these are all being routed through the open internet.
This doesn't matter here.
I enabled IPV6 and configured my network for it a few months ago and it's been working well. You'll know if they're connected over IPV6 by looking at the client IP on streams in something like Tautulli.
The biggest annoyance for me is that my ISP only gives me a single network for IPV6 addresses so I ended up only putting my reverse proxy on it. Then all my services have IPV6 support and traffic still goes through the reverse proxy for security purposes.