• 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 SOLVED: ExpressVpn breaking Jellyfin

     
    • 0 Vote(s) - 0 Average

    SOLVED: ExpressVpn breaking Jellyfin

    Jellyfin doesn't work when ExpressVpn is connected
    SilveryAbaba
    Offline

    Junior Member

    Posts: 11
    Threads: 3
    Joined: 2024 Jan
    Reputation: 0
    #1
    2024-01-24, 04:44 AM
    Hello, I have tailscale installed so I can access Jellyfin from other devices. I have ExpressVpn split tunneled so that my other activity on the server is protected. I have jellyfin and tailscale excluded in the split tunnel. When ExpressVpn is on I can access Jellyfin from localhost:port only, not my tailscale ip like I can usually, so no other devices can connect either. I attached my exclusion rules. It shouldn't be touching either of these at all. Curiously, with these same settings it worked on my old server before I migrated. Any idea what's going on? Thanks!


    Attached Files Thumbnail(s)
       
    Go to solution
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-01-24, 05:20 AM
    Instead of the Jellyfin Tray App, add jellyfin.exe to the list?  They are separate processes.  The tray app only starts/stops jellyfin.exe.

       
    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]
    SilveryAbaba
    Offline

    Junior Member

    Posts: 11
    Threads: 3
    Joined: 2024 Jan
    Reputation: 0
    #3
    2024-01-26, 12:32 AM (This post was last modified: 2024-01-26, 12:35 AM by SilveryAbaba. Edited 3 times in total.)
    Hey, thanks for answering. If you'll check my attachment I already have that excluded too. Thanks again.

    (2024-01-24, 05:20 AM)TheDreadPirate Wrote: Instead of the Jellyfin Tray App, add jellyfin.exe to the list?  They are separate processes.  The tray app only starts/stops jellyfin.exe.
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #4
    2024-01-26, 12:52 AM (This post was last modified: 2024-01-26, 12:53 AM by tmsrxzar. Edited 1 time in total.)
    trying to better understand your setup

    jellyfin server is installed and running on the pc
    tailscale is on the pc which allows external traffic to connect to your jellyfin instance

    if that's correct; excluding expressvpn for the moment
    jellyfin is successfully being accessed from where, LAN or External through tailscale?

    then when expressvpn is up and running it is also running on the same pc creating a 3rd network
    jellyfin can no longer be accessed from where, LAN or External through tailscale?


    the routing bit is important to understand which way the traffic IS being routed vs how it SHOULD BE routed
    SilveryAbaba
    Offline

    Junior Member

    Posts: 11
    Threads: 3
    Joined: 2024 Jan
    Reputation: 0
    #5
    2024-01-26, 01:21 AM (This post was last modified: 2024-01-26, 01:26 AM by SilveryAbaba. Edited 2 times in total.)
    (2024-01-26, 12:52 AM)tmsrxzar Wrote: trying to better understand your setup

    jellyfin server is installed and running on the pc
    tailscale is on the pc which allows external traffic to connect to your jellyfin instance

    if that's correct; excluding expressvpn for the moment
    jellyfin is successfully being accessed from where, LAN or External through tailscale?

    then when expressvpn is up and running it is also running on the same pc creating a 3rd network
    jellyfin can no longer be accessed from where, LAN or External through tailscale?


    the routing bit is important to understand which way the traffic IS being routed vs how it SHOULD BE routed
    Thanks for trying to understand! Jellyfin server and tailscale is on my desktop yes. I can only access on LAN on my server computer through localhost:port when ExpressVpn is connected, but not ip:port or MagicDns:port on browser or jelly media player. All external devices (ie, can't use localhost:port) cannot access. ExpressVpn should exclude tailscale and jellyfin from the third network because of the split tunneling above (I think). As soon as I disconnect ExpressVpn everything works as it should. Expressvpn on a client also with the same exclusions cannot connect as well, but does as soon as it is disconnected resumes playback.
    Edit: because localhost:port does not work on clients, I believe tailscale is routing externally to make a successful connection without ExpressVpn
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #6
    2024-01-26, 01:41 AM
    alright, makes sense

    i can give you some testing hints, i believe the routing on the machine running all these is incorrect

    basic overview guide of routing on windows is here https://www.howtogeek.com/22/adding-a-tc...ting-table

    what i believe needs to happen is your machine needs a route for tailscale that tells it to only send that traffic to tailscale
    since the 'automatic' split tunneling doesn't (seem to) work, it will be manual

    need to add a route using 'route add' that directs all traffic from your "LAN IP" to the Tailscale Gateway Server IP VIA your LAN Gateway so that it doesn't try to send it to (or through) expressVPN

    example
    Lan IP 192.168.0.20
    Lan Gateway 192.168.0.1
    Tailscale Server 2.3.4.5

    route add 2.3.4.0 MASK 255.255.255.0 192.168.0.1

    it gets quite involved doing routing and it's been years since i've done it on windows but i believe this should be the path forward
    1
    SilveryAbaba
    Offline

    Junior Member

    Posts: 11
    Threads: 3
    Joined: 2024 Jan
    Reputation: 0
    #7
    2024-01-26, 02:04 AM (This post was last modified: 2024-01-26, 02:07 AM by SilveryAbaba. Edited 1 time in total.)
    (2024-01-26, 01:41 AM)tmsrxzar Wrote: alright, makes sense

    i can give you some testing hints, i believe the routing on the machine running all these is incorrect

    basic overview guide of routing on windows is here https://www.howtogeek.com/22/adding-a-tc...ting-table

    what i believe needs to happen is your machine needs a route for tailscale that tells it to only send that traffic to tailscale
    since the 'automatic' split tunneling doesn't (seem to) work, it will be manual

    need to add a route using 'route add' that directs all traffic from your "LAN IP" to the Tailscale Gateway Server IP VIA your LAN Gateway so that it doesn't try to send it to (or through) expressVPN

    example
    Lan IP 192.168.0.20
    Lan Gateway 192.168.0.1
    Tailscale Server 2.3.4.5

    route add 2.3.4.0 MASK 255.255.255.0 192.168.0.1

    it gets quite involved doing routing and it's been years since i've done it on windows but i believe this should be the path forward

    Wow, that's definitely something I never would have thought to try! I added -p to make it persistent, and it didn't work with the mask, but it autofills with that anyway if you leave it out. So I did: route -p add [tailscale provided server ip] [my computer's default gateway from ipconfig]  Thank you so much tmsrxzar!
    Edit: Now I can't access tailscale client on the server computer on external browser or media player, but localhost still works fine, so who cares.
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #8
    2024-01-26, 02:12 AM
    awesome

    yea, the rest of that will need more routes, just need to work out what should go where and make it go there
    but if localhost still does what you need then good enough

    you're welcome, glad it worked out
    « 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