• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Android client can't connect over VPN

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    Android client can't connect over VPN

    Making a VPN connection to my home network, Android client can't connect
    baronvonj
    Offline

    Junior Member

    Posts: 18
    Threads: 6
    Joined: 2024 Jul
    Reputation: 0
    Country:United States
    #1
    2024-07-26, 06:42 PM
    I have setup an OpenVPN server on my router, and am able to connect to other home servers with my phone (android) on mobile data over the VPN connection. My Jellyfin server is on a Synology NAS, deployed via Docker (as close as possible to the documentation here, but I guess it was written with older version of Container Manager as some screens were different). I also have Emby installed on the same NAS. I am able to connect Emby client from my phone over the VPN connection to the NAS Emby server. The Jellyfin client however says it can't connect to the Jellyfin server. When I hit connect it says "Tried 2 candidates for input, without success" and lists the https and http versions of the host:port I entered. I have configured the same set subnet CIDRs as local network in both Emby and Jellyfin. When I try to connect via chrome browser to the ip:port of Jellyfin, it does redirect me to the /web page, but the page content never loads.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-07-26, 06:56 PM
    Are you using a reverse proxy? If so, which one and can you share the config? Censor the domain.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    baronvonj
    Offline

    Junior Member

    Posts: 18
    Threads: 6
    Joined: 2024 Jul
    Reputation: 0
    Country:United States
    #3
    2024-07-26, 07:19 PM
    I believe the answer is no. I setup an OpenVPN server config on my router, and exported a ovpn config file. I set the VPN server to only allow access in, it does not give internet access back out from the internal network to the VPN clients. I do have a personal domain that my NAS is setup to update DNS with a record pointing home, but the ovpn file is using a hard coded IP, not my personal DNS. I downloaded OpenVPN Connect on my phone and imported the ovpn file. That connected my phone to my home network. I tested connecting to some simple of other the web services I have on my NAS and then the jellyfin client.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-07-26, 07:31 PM
    It just occurred to me. Did you change the port used by Emby or Jellyfin? Jellyfin was forked from Emby and still uses the same ports, 8096 and 8920. If you are running Emby and Jellyfin on host networking and didn't change the ports used, whichever starts first will bind to 8096 and prevent the other from starting.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    baronvonj
    Offline

    Junior Member

    Posts: 18
    Threads: 6
    Joined: 2024 Jul
    Reputation: 0
    Country:United States
    #5
    2024-07-26, 07:49 PM
    Yeah they're on different ports. They're both working fine from my phone clients while on wifi.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-07-26, 08:15 PM
    Do you have any host firewall rules restricting access from certain IP ranges?

    An example from my system.

       

    Only local or VPN clients can connect to 8096.  Other IP ranges have to go through Nginx on another port.

    Is your VPN subnet allowed to connect to whatever port you have Jellyfin running on in the host's firewall settings?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    baronvonj
    Offline

    Junior Member

    Posts: 18
    Threads: 6
    Joined: 2024 Jul
    Reputation: 0
    Country:United States
    #7
    2024-07-26, 08:23 PM
    synology firewall is not enabled.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2024-07-26, 08:23 PM
    I'll do some testing when I get home and get back to you.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #9
    2024-07-27, 01:33 AM
    It just worked for me.

       
       

    Can you share your network.xml file and post your full jellyfin log to pastebin?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    baronvonj
    Offline

    Junior Member

    Posts: 18
    Threads: 6
    Joined: 2024 Jul
    Reputation: 0
    Country:United States
    #10
    2024-07-27, 01:42 AM
    It'll be Sunday evening when I can look again.
    Pages (2): 1 2 Next »

    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode