Jump to content
Not connected, Your IP: 3.15.18.221
charoki60

Expose Jellyfin to internet through AirVPN port forwarding

Recommended Posts

Hello!

I'm trying to expose Jellyfin to internet through AirVPN port forwarding, but I can't for the life of me make it to work.

You can see the gluetun stack I'm using bellow

45554 is the port I'm trying to use for Jellyfin.
42148 is the one I'm using for Qbittorrent. You can ignore this, it's working perfectly.

I have no idea what I could be doing wrong, tried everything that came to my mind.

In the AirVPN => Client Area => Forwarded Port, I tried to bind 45554 to "local port" 8096, without success.

I'd really appreciate any help,

Thanks for your time!
 

services:
  gluetun:
    image: qmcgaw/gluetun
    container_name: gluetun
    cap_add:
      - NET_ADMIN
    devices:
      - /dev/net/tun:/dev/net/tun
    environment:
      - VPN_SERVICE_PROVIDER=airvpn
      - VPN_TYPE=wireguard
      - WIREGUARD_PRIVATE_KEY=xxx
      - WIREGUARD_PRESHARED_KEY=xxx
      - WIREGUARD_ADDRESSES=xxx
      - SERVER_REGIONS=Europe
      - FIREWALL_VPN_INPUT_PORTS=45554,42148
    ports:
      - 8080:8080 # Qbittorrent1
      - 42148:42148 # Qbittorrent1 port forwarding
      - 42148:42148/udp # Qbittorrent1 port forwarding
      - 8181:8181 # Qbittorrent2
      - 6881:6881 # Qbittorrent2 port
      - 6881:6881/udp # Qbittorrent2 port
      - 8096:8096 # Jellyfin
      - 45554:45554



  qbittorrent:
    image: lscr.io/linuxserver/qbittorrent:latest
    container_name: qbittorrent1
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
      - WEBUI_PORT=8080
      - TORRENTING_PORT=42148
    volumes:
      - /home/charly/container/qbittorrent1/appdata/:/config
      - /home/charly/Téléchargements/:/downloads
    network_mode: 'service:gluetun'
    depends_on:
      - gluetun
    restart: unless-stopped



  qbittorrent2:
    image: qbittorrentofficial/qbittorrent-nox:latest
    container_name: qbittorrent2
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
      - TORRENTING_PORT=6881
      - QBT_LEGAL_NOTICE=confirm
      - QBT_VERSION=latest
      - QBT_WEBUI_PORT=8181
    volumes:
      - /home/charly/container/qbittorrent2/appdata/:/config
      - /home/charly/Téléchargements/:/downloads
    network_mode: 'service:gluetun'
    depends_on:
      - gluetun
    restart: unless-stopped



  jellyfin:
    image: jellyfin/jellyfin
    container_name: jellyfin
    network_mode: 'service:gluetun'
    volumes:
      - /home/charly/container/jellyfin/config:/config
      - /home/charly/container/jellyfin/cache:/cache
      - /home/charly/container/jellyfin/movies:/movies
      - /home/charly/container/jellyfin/tvshows:/tvshows
    restart: 'unless-stopped'
    environment:
      - TZ=Etc/UTC
      - PUID=1000
      - PGID=1000

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image

×
×
  • Create New...