So im having Astrill VPN on my computer and was wondering how i can get it to work with Plex? i have opened the port and added it manually on the plex port settings, but the external connection is still refused by plex.
PS: i have already checked the Plex guide for remote access and none of those works. When i disable Astrill VPN and do a port check via http://canyouseeme.org/, it says that the port is open and isnt blocked by the ISP. Has anyone managed to get the remote access to work with VPN?
More than likely, your VPN provider is using a form of NAT and would have to port forward for the remote connection to register correctly with Plex.tv. The port scan may very well say open, but that doesn’t mean it’s forwarding traffic to your endpoint.
Just because you see a different public IP address at canyouseeme.org, doesn’t mean the VPN provider isn’t sharing that address with other VPN users, that would be a massive public IP pool set they would need and would charge WAY more for that service as a result.
All of that said, I am curious why you feel the need for the extra layer of encryption. Plex already offers HTTPS encapsulation which is far less resource intensive than trying to send video over a VPN.
Perhaps he runs his Plex server on a PC that uses the VPN for other… completely legitimate… reasons?
@AmazingRando24 said:
Perhaps he runs his Plex server on a PC that uses the VPN for other… completely legitimate… reasons?
Understood, I was just trying to understand the use case. For most moderately paranoid users, HTTPS is sufficient. VPN adds additional processing overhead and routing complexity that may not be necessary or justifiable depending on the reasons behind the use case.
@fusion_jeff said:
More than likely, your VPN provider is using a form of NAT and would have to port forward for the remote connection to register correctly with Plex.tv. The port scan may very well say open, but that doesn’t mean it’s forwarding traffic to your endpoint.
Just because you see a different public IP address at canyouseeme.org, doesn’t mean the VPN provider isn’t sharing that address with other VPN users, that would be a massive public IP pool set they would need and would charge WAY more for that service as a result.
All of that said, I am curious why you feel the need for the extra layer of encryption. Plex already offers HTTPS encapsulation which is far less resource intensive than trying to send video over a VPN.
Im using Plex on my desktop computer together with some other apps that i want to run via VPN. I tried port forwarding but that didnt work either.
I am assuming this is in Windows. You are going to have to have a route for Plex traffic from the vpn provider to your plex server IP in your VPN client software settings. The VPN client from the the VPN provider most likely will not have advanced options for this setup. My recommendation is to use OpenVPN with Astrill, OpenVPN will allow manual configurations that most VPN Provider’s VPN clients don’t. Setup Atrill manually with OpenVPN, setup OpenVPN to run as a service. Verify Astrill is running correctly on OpenVPN. You will need to modify the OpenVPN config file to something like this
client
dev tun
proto udp
remote-random
remote us-east.privateinternetaccess.com 1197 ( i use PIAVPN you will needs Astrill’s info)
remote us-midwest.privateinternetaccess.com 1197 ( i use PIAVPN you will needs Astrill’s info)
PLEX over WAN route
route plex.tv 255.255.255.255 192.168.1.1 (route to your Server IP)
resolv-retry infinite
keepalive 10 60
nobind
persist-key
persist-tun
cipher aes-256-cbc
auth sha256
tls-client
remote-cert-tls server
auth-user-pass login.conf
comp-lzo
verb 1
reneg-sec 0
crl-verify crl.rsa.4096.pem ( see below)
ca ca.rsa.4096.crt (See below)
The crl-verify crl.rsa.4096.pem and ca ca.rsa.4096.crt are the certs for PIAVPN you will need to go to Astrills website and find where to get there cert. There should be documentation for this or use the forums. Once you have the certs. Place the certs in the same directory as the OpenVPN config file is in.
The auth-user-pass login.conf file is in the same directory as the OPenVPN config file you need to add your Astrill username and password.
You can repeat the same steps by creating a different route for any other program or some service that is not working.
I am assuming you already have port forwarding setup to route plex traffix from the WAN to your Plex server already.
I run PIA and i got sick and tired of constantly adding routes to this. I just bought a RasPi box and run my VPN on it and use the programs i need on the Pi with the added VPN security so the rest of my network is unaffected.