charoki60 0 Posted ... 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 Quote Share this post Link to post
Bobo90 0 Posted ... HI guys, i was tryed do this with rhis video https://www.youtube.com/watch?v=LV3mcfqNgcQ , but still not working. Here is my compose. Maybe someone figure it out. Quote services: jellyfin: image: jellyfin/jellyfin container_name: jellyfin ports: - 8097:8097/tcp # - 7359:7359/udp volumes: - ./jellyfin-config:/config - ./jellyfin-cache:/cache - /mnt/#/media:/media restart: unless-stopped environment: - PUID=568 - PGID=568 - TZ=Europe/Warsaw - /dev/dri:/dev/dri gluetun: image: qmcgaw/gluetun container_name: gluetun2 cap_add: - NET_ADMIN devices: - /dev/net/tun ports: # Expose qBittorrent's web UI and torrent ports through VPN - #airvpn_port:8097 # Jellyfin volumes: - ./gluetun:/gluetun environment: - VPN_TYPE=wireguard - VPN_SERVICE_PROVIDER=airvpn - TZ=# - WIREGUARD_PRIVATE_KEY=# - WIREGUARD_PRESHARED_KEY=# - WIREGUARD_ADDRESSES=# - VPN_LAN_NETWORK=# sysctls: - net.ipv4.conf.all.src_valid_mark=1 - net.ipv6.conf.all.disable_ipv6=1 restart: unless-stopped depends_on: - jellyfin networks: {} When i add end point manualy in compose its drop error - "ERROR [vpn] finding a VPN server: target IP address not found: in 250 filtered connections". Without Endpoint it showing evething is healthy but when i check "curl ifconfig.io" is some ipv6, but no mine end point ipv4. When i click into jellyfin port its now show jellfin gui. I`not using 8096 because its busy by running jellyfin serwer. Jellyfin serwer 8096 i have on Truenas scale Jellyfin serwer 8097 i wanna run on Truenas->Dockge I have already qbittorrent on Docke and its working fine. God bless you all for help;) Quote Share this post Link to post
cbkosl 0 Posted ... Hello there! Is there a reason to use Jellyfin through the VPN and port forward it? The most common ways of sharing Jellyfin/Plex would be to have a reverse proxy on your network like Nginx Proxy Manager and accessing it from there if you are outside your home network. Br Cbkosl Quote Share this post Link to post
Staff 10381 Posted ... @Bobo90 Hello! Your compose file lacks the proper setting of the FIREWALL_VPN_INPUT_PORTS environment variable. If you set it on the command line options fine, but if not you must add it and set it properly. The FIREWALL_VPN_INPUT_PORTS environment variable in Gluetun specifies a comma-separated list of ports that must be allowed through the firewall. Without it, packets forwarded by the VPN server will be dropped by GlueTun firewall. About this error: "ERROR [vpn] finding a VPN server: target IP address not found: in 250 filtered connections". you should be able to resolve it by reading the documentation specific for AirVPN: https://github.com/qdm12/gluetun-wiki/blob/main/setup/providers/airvpn.md Kind regards Quote Share this post Link to post
Bobo90 0 Posted ... @cbkosl I have CGNAT internet. At this moment i get to my web with tailscale and its fine, but i want to share my media with family. @Staff i ad "FIREWALL_VPN_INPUT_PORTS=#port_from_airvpn" and nothing change. i read topic from your link and nothing change, same error. Quote Share this post Link to post
Staff 10381 Posted ... 4 hours ago, Bobo90 said: read topic from your link and nothing change, same error. Hello! Reading it is not sufficient, then you have to change your configuration accordingly. How did you add the end point (destination VPN server)? Kind regards Quote Share this post Link to post
Bobo90 0 Posted ... i added it to compose Quote environment: - WIREGUARD_ENDPOINT_IP=#ip - WIREGUARD_ENDPOINT_PORT=#port Few attemps ago i tried with wg0.conf but docker didnt read it Quote Share this post Link to post