1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice

Welcome To SNBForums

SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.

If you'd like to post a question, simply register and have at it!

While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!

VPN Server and Plex Server

Discussion in 'Asuswrt-Merlin' started by Chrisgtl, Sep 22, 2019.

  1. Chrisgtl

    Chrisgtl Regular Contributor

    Joined:
    Sep 4, 2018
    Messages:
    53
    Hi all,

    I have a 86U running latest stable Merlin firmware. I have a VPN server setup on my 86U so I can access home devices when I am away from home. Everything works beautifully apart from Plex.

    The odd thing is I can login to my Plex using Android or Windows Plex app and I can even play music files from my server but I am not able to play any movies.

    As soon as I enable remote access on the Plex server and port forward my defined port it all works fine.

    I don't want any open ports though and would of thought if I am connected to my router via its VPN then I should be able to do anything with the devices connected to it? Does Plex have some sort of digital rights management that it needs in order for me to play a movie? Really don't understand why music works and films don't. Films will require more bandwidth than music but even on 4G+ I'm unable to start any film playing - and with the same mobile data signal with port forwarding enabled it does play movies.

    Has anyone else with a simar setup got Plex working by connecting to their own VPN server?
     
  2. icsy7687

    icsy7687 Occasional Visitor

    Joined:
    Mar 6, 2015
    Messages:
    26
    Location:
    USA
    How are you connecting?

    Are you going to Plex.tv?

    Or going directly to your server? (Server.ip.address:32400)
     
    QuikSilver likes this.
  3. Chrisgtl

    Chrisgtl Regular Contributor

    Joined:
    Sep 4, 2018
    Messages:
    53
    I'm using the Plex media player app for either Android or Windows.

    I will try playing a film using the web interface. Good shout!
     
  4. Chrisgtl

    Chrisgtl Regular Contributor

    Joined:
    Sep 4, 2018
    Messages:
    53
    Tried the web player and unable to play films.

    I just don't understand.
     
  5. Stevens243

    Stevens243 Regular Contributor

    Joined:
    Oct 3, 2018
    Messages:
    51
    Location:
    San Diego
    What is your ISP supporting on the upload side? You don't mention file size/formats but you will need a fairly large upload speed to support streaming movie files.
     
  6. Chrisgtl

    Chrisgtl Regular Contributor

    Joined:
    Sep 4, 2018
    Messages:
    53
    My ISP upload is averaging about 35Mbps. My Plex server is able to Transcode about 4 1080p streams if needed.

    My films are MKV format, usually about 10 to 20 GB per movie.

    Like I said, if I open the Plex port on my router everything works perfectly. But that leaves me with a port open which I don't want. Is it a case that my router isn't powerful enough to process the data via its internal VPN?
     
  7. Chrisgtl

    Chrisgtl Regular Contributor

    Joined:
    Sep 4, 2018
    Messages:
    53
    As a test I will copy one of my Plex movies (stored on my NAS) to the PC running Plex server and see if I can play the movie via VPN.

    I bet it works fine.
     
  8. icsy7687

    icsy7687 Occasional Visitor

    Joined:
    Mar 6, 2015
    Messages:
    26
    Location:
    USA
    How are you accessing using a web browser?

    Are you going to plex.tv? Or are you going to http://ipaddress:32400?

    Also, once connected to VPN, can you ping your plex server?
     
    QuikSilver likes this.
  9. Chrisgtl

    Chrisgtl Regular Contributor

    Joined:
    Sep 4, 2018
    Messages:
    53
  10. elorimer

    elorimer Very Senior Member

    Joined:
    Dec 16, 2013
    Messages:
    826
    Plex is pretty opaque to me in a lot of ways. They are very proud of their network security. For connection problems, they say to stop any VPN, but I think they must be meaning a VPN client and unaware that anyone would make a connection through a VPN server. If I understand it, the plex server sends to the plex site both the private IP of the plex server and the public IP of the router, not necessarily the public IP of the VPN connection out.

    It could be that plex is trying some network discovery that doesn't travel over the server. Have you tried making the VPN connection as a TAP connection rather than a TUN (which is what I assume)? Odd that music would work though.
     
  11. Chrisgtl

    Chrisgtl Regular Contributor

    Joined:
    Sep 4, 2018
    Messages:
    53
    Hi. Yeah, my VPN is TUN. I will try TAP at some point.

    Strangely I've since realised without the port forwarding enabled I can still connect even though Plex says no remote connection.

    I've kinda given up with it. It works without an open port and I don't need to connect via VPN. That'll do me.