Download station / QVPN IP / Plex Remote IP gets changed

Post your questions about BT download, FTP download, HTTP download, or QGet download software here.
Post Reply
PEye2000
First post
Posts: 1
Joined: Sun Jun 05, 2016 5:40 am

Download station / QVPN IP / Plex Remote IP gets changed

Post by PEye2000 » Wed May 22, 2019 6:13 am

I,m running Plex for my family’s movies for them to remote access, All works good till I download something new using Download station with QVPN set up with a PIA primary link and secondary PIA backup link.. What happens is once all is done and I exit the NAS I would notice or get a message from one of my kids saying they can’t get logged in.. what I noticed is the remote Plex IP address has changed to the PIA primary link or secondary PIA backup link address, Plex will not revert back to the IP remote address it was using when working fine... I would have to go into QVPN and temporarily disconnect primary and secondary links, then to Plex to click on retry remote connection next to the port settings getting a remote connection successfully, then back to QVPN to reconnect the the primary and Secondary PIA links... any help please and thanks in advance, PS.. I am running two QNAP TS-251+ systems in two different physical locations and experiencing the same on both at times... thanks again..!

User avatar
Moogle Stiltzkin
Ask me anything
Posts: 7562
Joined: Thu Dec 04, 2008 12:21 am
Location: Around the world....
Contact:

Re: Download station / QVPN IP / Plex Remote IP gets changed

Post by Moogle Stiltzkin » Wed May 22, 2019 7:09 am

I'm pretty sure the Launch button on plex.tv just links you to your ip address without any kind of actual dyndns magic.
https://forum.openmediavault.org/index. ... access-is/


[Tutorial] Plex VPN Bypass

Just thought I'd post my config because I've seen this several different ways, some of which involved several ports or whitelisting massive chunks of Amazon IP Addresses.

I'll assume you have Plex setup as well as your OpenVPN on your router, and you will need to use a static IP for the Plex server or this will break on IP change.

Step 1. Setup Remote Access in Plex
I used a manual port for this, but as it stands this won't work over VPN (unless you have some VPN that handles port forwarding). As most people are bypassing the VPN, we'll use this.

Choose whatever manual port you want and take note of it. At this point the Remote Access is not going to work.

Step 2. Forward this port to your Plex Server.
Use the port from step one as both the Port Range and Local Port. Enable Forwarding for "BOTH". Call your service Plex (doesn't really matter about the name).

Step 3. Easy VPN Domain Bypass
OpenVPN can lookup the IP Addresses via domain. I simply added "route plex.tv 255.255.255.255 net_gateway" (no quotes) to custom configuration on the OpenVPN client page. This makes that domain bypass the VPN. We need this because the Remote Access will get your VPN IP which most likely will reject your port. This makes it see your real IP.

Step 4. Make traffic over the Plex port bypass the VPN.
This uses a method that let me use SSH over VPN, something I struggled to get working with an OpenVPN Desktop client (actually never did get working. VPN dead = no SSH). It works the same way for Plex.

That script works for me with 1 VPN (probably more than 1 as well). This will make all the Plex traffic going in and out of the port we chose not use the VPN. I only needed one port, and I didn't have to whitelist half of Amazon to make this work.

I tested this and I was able to access my Plex server via my iPhone on a different network, 25 miles away.
https://www.snbforums.com/threads/tutor ... **.31410/


i found some sauce not sure if any of it helps :)
NAS
[Main Server] QNAP TS-877 w. 4tb [ 3x HGST Deskstar NAS (HDN724040ALE640) & 1x WD RED NAS ] EXT4 Raid5 & 2 x m.2 SATA Samsung 850 Evo raid1 + 16gb ddr4 Crucial + QWA-AC2600 wireless adapter.
[Backup] QNAP TS-653A w. 5x 2TB Samsung F3 (HD203WI) EXT4 Raid5
[^] QNAP TS-659 Pro II 1x 4TB HGST Deskstar NAS
[^] QNAP TS-509 Pro w. 4x 1TB WD RE3 (WD1002FBYS) EXT4 Raid5
[^] QNAP TS-228 w. 1x 1TB WD RE3 (WD1002FBYS)
[^] QNAP TS-128
Mobile NAS TBS-453DX w. 2x Crucial MX500 500gb EXT4 raid1

Network
Asus AC68U Router|100dl/50ul MBPS FTTH Internet | Windows 10, WC PC-Intel i7 920 Ivy bridge desktop (1x 512gb Samsung 850 Pro SSD + 1x 4tb HGST Ultrastar 7K4000)


Guides & articles
[Review] Moogle's QNAP experience
[Review] Moogle's TS-877 review

https://www.patreon.com/mooglestiltzkin

Post Reply

Return to “Download Station and QGet”