Plex and Qnap and VPN

DLNA, AirPlay, Chromecast, PS3, XBOX, iTunes, & other media players
User avatar
spikemixture
Know my way around
Posts: 236
Joined: Wed Mar 07, 2018 11:04 pm
Location: 3rd World

Plex and Qnap and VPN

Postby spikemixture » Mon Sep 10, 2018 10:05 pm

I have an ISP static IP.
An Asus RT-AC88U router
A TVS-1282
Plex server on the NAS.
And PIA VPN account.

I have the VPN setup and works on the Qnap and the Router (currently NAS VPN is running but not set to "Use VPN as NAS Default Gateway)( router vpn disconnected)
PMS currently streams remotely but not when either the router or the NAS has VPN turned on.

Suggestions please
Qnap TVS-1282
HD - 6x8TB Wd Red, 2x 8TB Iron Wolf - Raid 6
SSD - 2x Samsung 860 Evo 250gb - Static (Raid 1) - VM
PCI-e - M.2 - 2x Samsung 960 Evo 250gb - Static (Raid 1) - PMS
2x Intel 120gb - Static (Raid 0) - undecided
M.2 - 2x Samsung 850 Evo 250gb - Raid 1 - cache
Back up - Synology -1817+(2x10, 4x6, 2x4) Raid SHR & Drobo 5n - 5x4tb Seagate & Buffalo LinkStation -2x 4TB Seagate = about 80TB as backup
TV client boxes - 2xShield Pro (2015 & 2017), Shield 16gb 2017, ATV4, Xbox one, Roku3, Roku4, Chromecast & Samsung & LG Smart TV's
All my software updated as soon as it's available.

I give my opinion from my experience!
:roll:

dolbyman
Ask me anything
Posts: 9760
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Plex and Qnap and VPN

Postby dolbyman » Mon Sep 10, 2018 10:40 pm

vpn into your lan (need to setup vpn server on the asus) ..that should work

gggplaya
Been there, done that
Posts: 519
Joined: Wed Apr 20, 2016 10:05 pm

Re: Plex and Qnap and VPN

Postby gggplaya » Mon Sep 10, 2018 10:43 pm

I purchased a LenovoM73 (core i5 4570T) to run Plex, it works great for 2 CPU transcoded 1080p streams and only uses 14watts at idle.

I mention this because that's the simplest solution. Run Plex on a separate PC using shares mounted on the PC from your NAS with no VPN on the plex server. Then run VPN on your NAS like normal.

You might be able to use a Virtual machine to run plex on a separate LAN port and routed using virtual switch, but i'm not sure how the performance would be. Someone else would have to chime in here.

User avatar
spikemixture
Know my way around
Posts: 236
Joined: Wed Mar 07, 2018 11:04 pm
Location: 3rd World

Re: Plex and Qnap and VPN

Postby spikemixture » Tue Sep 11, 2018 1:28 pm

gggplaya wrote:I purchased a LenovoM73 (core i5 4570T) to run Plex, it works great for 2 CPU transcoded 1080p streams and only uses 14watts at idle.

I mention this because that's the simplest solution. Run Plex on a separate PC using shares mounted on the PC from your NAS with no VPN on the plex server. Then run VPN on your NAS like normal.

You might be able to use a Virtual machine to run plex on a separate LAN port and routed using virtual switch, but i'm not sure how the performance would be. Someone else would have to chime in here.



Yep I get that and can do that (I have a NUC i7 that was my server). But I bought this big motha to do everything.
Qnap TVS-1282
HD - 6x8TB Wd Red, 2x 8TB Iron Wolf - Raid 6
SSD - 2x Samsung 860 Evo 250gb - Static (Raid 1) - VM
PCI-e - M.2 - 2x Samsung 960 Evo 250gb - Static (Raid 1) - PMS
2x Intel 120gb - Static (Raid 0) - undecided
M.2 - 2x Samsung 850 Evo 250gb - Raid 1 - cache
Back up - Synology -1817+(2x10, 4x6, 2x4) Raid SHR & Drobo 5n - 5x4tb Seagate & Buffalo LinkStation -2x 4TB Seagate = about 80TB as backup
TV client boxes - 2xShield Pro (2015 & 2017), Shield 16gb 2017, ATV4, Xbox one, Roku3, Roku4, Chromecast & Samsung & LG Smart TV's
All my software updated as soon as it's available.

I give my opinion from my experience!
:roll:

User avatar
spikemixture
Know my way around
Posts: 236
Joined: Wed Mar 07, 2018 11:04 pm
Location: 3rd World

Re: Plex and Qnap and VPN

Postby spikemixture » Mon Sep 17, 2018 12:49 pm

dolbyman wrote:vpn into your lan (need to setup vpn server on the asus) ..that should work


Thanks will try that.

I will ask another question in a new post about tunneling as it might be missed here....
Qnap TVS-1282
HD - 6x8TB Wd Red, 2x 8TB Iron Wolf - Raid 6
SSD - 2x Samsung 860 Evo 250gb - Static (Raid 1) - VM
PCI-e - M.2 - 2x Samsung 960 Evo 250gb - Static (Raid 1) - PMS
2x Intel 120gb - Static (Raid 0) - undecided
M.2 - 2x Samsung 850 Evo 250gb - Raid 1 - cache
Back up - Synology -1817+(2x10, 4x6, 2x4) Raid SHR & Drobo 5n - 5x4tb Seagate & Buffalo LinkStation -2x 4TB Seagate = about 80TB as backup
TV client boxes - 2xShield Pro (2015 & 2017), Shield 16gb 2017, ATV4, Xbox one, Roku3, Roku4, Chromecast & Samsung & LG Smart TV's
All my software updated as soon as it's available.

I give my opinion from my experience!
:roll:

User avatar
spikemixture
Know my way around
Posts: 236
Joined: Wed Mar 07, 2018 11:04 pm
Location: 3rd World

Re: Plex and Qnap and VPN

Postby spikemixture » Mon Sep 17, 2018 2:04 pm

dolbyman wrote:vpn into your lan (need to setup vpn server on the asus) ..that should work



Ok have setup VPN SERVER on my Asus
Then used the ovpn file created on the Asus when setting up the VPN client on the NAS - did not connect !
Qnap TVS-1282
HD - 6x8TB Wd Red, 2x 8TB Iron Wolf - Raid 6
SSD - 2x Samsung 860 Evo 250gb - Static (Raid 1) - VM
PCI-e - M.2 - 2x Samsung 960 Evo 250gb - Static (Raid 1) - PMS
2x Intel 120gb - Static (Raid 0) - undecided
M.2 - 2x Samsung 850 Evo 250gb - Raid 1 - cache
Back up - Synology -1817+(2x10, 4x6, 2x4) Raid SHR & Drobo 5n - 5x4tb Seagate & Buffalo LinkStation -2x 4TB Seagate = about 80TB as backup
TV client boxes - 2xShield Pro (2015 & 2017), Shield 16gb 2017, ATV4, Xbox one, Roku3, Roku4, Chromecast & Samsung & LG Smart TV's
All my software updated as soon as it's available.

I give my opinion from my experience!
:roll:

dolbyman
Ask me anything
Posts: 9760
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Plex and Qnap and VPN

Postby dolbyman » Mon Sep 17, 2018 9:28 pm

vpn server on the asus is to connect from external

phone ...tablet....etc while outside your network


connecting the nas vpnclient to your asus server (while both are in the same network), makes no sense

gggplaya
Been there, done that
Posts: 519
Joined: Wed Apr 20, 2016 10:05 pm

Re: Plex and Qnap and VPN

Postby gggplaya » Mon Sep 17, 2018 9:34 pm

The idea of using a VPN is to tunnel into your home network, essentially so your computer thinks it's on your home network. Once tunneled in, the experience should be the same as if you were at home, albeit at reduced bandwidth. That ovpn file is supposed to be used on your computer, you shouldn't have to touch your NAS at all.

User avatar
spikemixture
Know my way around
Posts: 236
Joined: Wed Mar 07, 2018 11:04 pm
Location: 3rd World

Re: Plex and Qnap and VPN

Postby spikemixture » Mon Sep 17, 2018 9:47 pm

Thank you gentlemen , I am slowly understanding..
Qnap TVS-1282
HD - 6x8TB Wd Red, 2x 8TB Iron Wolf - Raid 6
SSD - 2x Samsung 860 Evo 250gb - Static (Raid 1) - VM
PCI-e - M.2 - 2x Samsung 960 Evo 250gb - Static (Raid 1) - PMS
2x Intel 120gb - Static (Raid 0) - undecided
M.2 - 2x Samsung 850 Evo 250gb - Raid 1 - cache
Back up - Synology -1817+(2x10, 4x6, 2x4) Raid SHR & Drobo 5n - 5x4tb Seagate & Buffalo LinkStation -2x 4TB Seagate = about 80TB as backup
TV client boxes - 2xShield Pro (2015 & 2017), Shield 16gb 2017, ATV4, Xbox one, Roku3, Roku4, Chromecast & Samsung & LG Smart TV's
All my software updated as soon as it's available.

I give my opinion from my experience!
:roll:

User avatar
spikemixture
Know my way around
Posts: 236
Joined: Wed Mar 07, 2018 11:04 pm
Location: 3rd World

Re: Plex and Qnap and VPN

Postby spikemixture » Mon Sep 17, 2018 10:32 pm

spikemixture wrote:
dolbyman wrote:vpn into your lan (need to setup vpn server on the asus) ..that should work


I have set PIA as a vpn client on the Asus.

It works but plex disconnects !!
Qnap TVS-1282
HD - 6x8TB Wd Red, 2x 8TB Iron Wolf - Raid 6
SSD - 2x Samsung 860 Evo 250gb - Static (Raid 1) - VM
PCI-e - M.2 - 2x Samsung 960 Evo 250gb - Static (Raid 1) - PMS
2x Intel 120gb - Static (Raid 0) - undecided
M.2 - 2x Samsung 850 Evo 250gb - Raid 1 - cache
Back up - Synology -1817+(2x10, 4x6, 2x4) Raid SHR & Drobo 5n - 5x4tb Seagate & Buffalo LinkStation -2x 4TB Seagate = about 80TB as backup
TV client boxes - 2xShield Pro (2015 & 2017), Shield 16gb 2017, ATV4, Xbox one, Roku3, Roku4, Chromecast & Samsung & LG Smart TV's
All my software updated as soon as it's available.

I give my opinion from my experience!
:roll:

dolbyman
Ask me anything
Posts: 9760
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Plex and Qnap and VPN

Postby dolbyman » Mon Sep 17, 2018 10:42 pm

I would use merlin firmware (on the asus) and selective routing

run your p2p program in a container or vm ,that route all traffic from that vm through a pia vpn tunnel established by the router (with killswitch on tunnel fail)

gggplaya
Been there, done that
Posts: 519
Joined: Wed Apr 20, 2016 10:05 pm

Re: Plex and Qnap and VPN

Postby gggplaya » Mon Sep 17, 2018 10:54 pm

Do all the devices on your network need VPN??

If you only need your NAS to have anonymity, then I would just use the VPN client on the NAS and leave the router's internet alone. Using VPN from your PC into your router should work at that point.

dolbyman
Ask me anything
Posts: 9760
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Plex and Qnap and VPN

Postby dolbyman » Mon Sep 17, 2018 10:57 pm

selective routing (as the name implies) is vpn for selected network clients only ...works great

and in contrast to qnap (afaik) supports a killswitch .. so if the tunnel fails,you dont start p2p on your plain ip, exposing yourself to authorities

User avatar
spikemixture
Know my way around
Posts: 236
Joined: Wed Mar 07, 2018 11:04 pm
Location: 3rd World

Re: Plex and Qnap and VPN

Postby spikemixture » Tue Sep 18, 2018 12:20 am

I cannot get me head around VPN clients and servers. :?
My NAS and my Router have both.

Currently I have PIA setup as a "client" on the NAS.

It says it's connected!

I then have an option to "Use VPN as NAS Default Gateway" on or off
What does that do? or what is the benefit?
If that is clicked ON I then have this option
"Allow other networks devices in the same subnet to connect to the VPN through the NAS" ticked or not.
If i do Plex will not work remotely!

When is the server used ?
And when is the client used?
Qnap TVS-1282
HD - 6x8TB Wd Red, 2x 8TB Iron Wolf - Raid 6
SSD - 2x Samsung 860 Evo 250gb - Static (Raid 1) - VM
PCI-e - M.2 - 2x Samsung 960 Evo 250gb - Static (Raid 1) - PMS
2x Intel 120gb - Static (Raid 0) - undecided
M.2 - 2x Samsung 850 Evo 250gb - Raid 1 - cache
Back up - Synology -1817+(2x10, 4x6, 2x4) Raid SHR & Drobo 5n - 5x4tb Seagate & Buffalo LinkStation -2x 4TB Seagate = about 80TB as backup
TV client boxes - 2xShield Pro (2015 & 2017), Shield 16gb 2017, ATV4, Xbox one, Roku3, Roku4, Chromecast & Samsung & LG Smart TV's
All my software updated as soon as it's available.

I give my opinion from my experience!
:roll:

User avatar
spikemixture
Know my way around
Posts: 236
Joined: Wed Mar 07, 2018 11:04 pm
Location: 3rd World

Re: Plex and Qnap and VPN

Postby spikemixture » Tue Sep 18, 2018 12:21 am

dolbyman wrote:selective routing (as the name implies) is vpn for selected network clients only ...works great

and in contrast to qnap (afaik) supports a killswitch .. so if the tunnel fails,you dont start p2p on your plain ip, exposing yourself to authorities



Does the merlin firmware do "Mesh"

I have 2 Ausus routers "meshed" together
Qnap TVS-1282
HD - 6x8TB Wd Red, 2x 8TB Iron Wolf - Raid 6
SSD - 2x Samsung 860 Evo 250gb - Static (Raid 1) - VM
PCI-e - M.2 - 2x Samsung 960 Evo 250gb - Static (Raid 1) - PMS
2x Intel 120gb - Static (Raid 0) - undecided
M.2 - 2x Samsung 850 Evo 250gb - Raid 1 - cache
Back up - Synology -1817+(2x10, 4x6, 2x4) Raid SHR & Drobo 5n - 5x4tb Seagate & Buffalo LinkStation -2x 4TB Seagate = about 80TB as backup
TV client boxes - 2xShield Pro (2015 & 2017), Shield 16gb 2017, ATV4, Xbox one, Roku3, Roku4, Chromecast & Samsung & LG Smart TV's
All my software updated as soon as it's available.

I give my opinion from my experience!
:roll:


Return to “Media Streaming”

Who is online

Users browsing this forum: No registered users and 3 guests