

- #Plex remote access not working how to#
- #Plex remote access not working code#
- #Plex remote access not working windows#
Troubleshooting Remote Access | Plex Support Plex Support If you do want to keep the double NAT, then make sure to allow all traffic from your public ip on the router to the WAN ip of the AP11D. If that should be the case then your router is already doing NAT and there's no need for AP11D to NAT again. Use our Connection check (click on the "Port check" tab) to ensure that the port is open.Check plex support and this article - make sure you don't try to specify any ports, let Plex handle it.Īls make sure you're not in a double-NAT scenario as described in the article. Start iperf with the command iperf3 -s -p xxxxx Run the command netsh interface portproxy reset in an elevated command prompt.
#Plex remote access not working how to#
To remove the rule(s) run netsh interface portproxy reset (Windows) How to check that the port forwarding works? Run the command netsh interface portproxy show all to see the added rule. (Windows) I am not sure if the netsh command worked If that helps then turn it back on again and check that you added the rule correctly in the step above. In Windows: In the firewall settings right click on "Windows Defender Firewall" and select Properties, then set "Firewall state" to off on the three tabs Domain Profile, Private Profile and Public Profile. (Windows) Plex shows that it's accessible for less than a second If you use WireGuard, then you have to add the port next to the WireGuard key that the app is using. Sudo iptables -t nat -I PREROUTING -p tcp -dport xxxxx -j REDIRECT -to 32400 FAQ Does it work with both OpenVPN and WireGuard?
#Plex remote access not working code#
Load anchor "port32400" from "/etc/pf.anchors/plex"Īdd a redirect rule by running the following code (replace xxxxx with the port number you were assigned): To open the pf.conf file run this command:.Press control + x and then hit y and Enter to save.To open or create the nf file run this command:.etc/pf.anchors/plex (replace xxxxx with the port number you were assigned). To add a persistent redirect rule, run these two commands (the second command spans over two lines in this guide):Įcho "rdr pass inet proto tcp from any to any port xxxxx -> 127.0.0.1 port 32400" >.To add a forwarding rule, copy the following command (which spans over two lines in this guide) as one long line and run it in the Terminal: echo "rdr pass inet proto tcp from any to any port xxxxx -> 127.0.0.1 port 32400" | sudo pfctl -ef - (replace xxxxx with the port number you were assigned).Enable IP forwarding by opening a Terminal, and run this command:.Under General, select Run with highest privileges.In the Program/script field, click on browse and add the plex.bat that you previously created, then click Next.Select Start a program, then click on Next.
#Plex remote access not working windows#
Click on the Windows icon and type taskschd.msc and then hit enter.Open Notepad and paste the netsh command into it.These steps will start the forwarding rule when you log in to Windows. Netsh interface portproxy add v4tov4 listenport=xxxxx listenaddress=0.0.0.0 connectport=32400 connectaddress=127.0.0.1 Type the following (replace xxxxx with the port number you were assigned), then hit Enter:.Type cmd, then click Run as administrator.Enter a name, for example "Plex port XXXXX", then click Finish.Check the boxes next to Private and Public, then click Next.Select Allow the connection, then click Next.Enter the port number you were assigned, then click Next.Under the Actions column, click on New Rule.Check the box next to Manually specify public port and enter the port number you were assigned, then click Apply.Click on Settings > Remote Access and enable Remote Access.In the Mullvad app click on the gear icon > Preferences and enable Local network sharing.Open the Mullvad app and reconnect to a VPN server.You will need this number (12345) for later. Click on Add port to add a port for using with Plex. The new port tag under "Active ports" includes the country, city and the port number (for example se-sto-12345).Click on Select a key and select No key (only OpenVPN), or if you are using WireGuard protocol then select the WireGuard key that you are using.Click on Select a city under "Port forwarding" and select the city that you connect to with Mullvad.Click on Manage ports and WireGuard keys.Log in to your Mullvad account on our website.
