webshammo 0 Posted ... First, Transmission has been working fine for years with all this. I thought I would upgrade to media-stack to get some other tools, but I cannot get qbitttorent to be connectable. I have tried many things found here, but I am still stuck. Tried turning ipv6 on in custom.ovpn. Tried tools->options->advanced->setting ipv4 only and not, setting network for tun0 and not. The qbittorrent container is running and micro cp will punch holes and download, but tcp should work. Inside that container netstat shows tcp 0 0 10.29.238.152:22123 0.0.0.0:* LISTEN - but https://airvpn.org/ports/ has the port forwarded, but testing for is open times out. This is my docker-compose: version: "3.9" name: media-stack services: # To use/enable VPN, Run this compose file with --profile=vpn. Its highly recommended to use VPN. vpn: ## Read https://github.com/qdm12/gluetun-wiki/tree/main/setup/providers for details on configuring VPN for your service provider. container_name: vpn image: qmcgaw/gluetun:v3.40.0 cap_add: - NET_ADMIN environment: - VPN_SERVICE_PROVIDER=custom # Valid values: nordvpn, expressvpn, protonvpn, surfshark or custom - FIREWALL_VPN_INPUT_PORTS=22123 - OPENVPN_USER=${OPENVPN_USER:-""} - OPENVPN_PASSWORD=${OPENVPN_PASSWORD:-""} ## For list of server countries, visit https://raw.githubusercontent.com/qdm12/gluetun/master/internal/storage/servers.json ## When VPN_SERVICE_PROVIDER is custom. Comment the below line # - SERVER_COUNTRIES=${SERVER_COUNTRIES:-Switzerland} # - FREE_ONLY=on # Valid with protonvpn only. Value willbe set "on" if using free subscription provided by protonvpn ## Enable below if VPN_SERVICE_PROVIDER=custom - VPN_TYPE=openvpn # or wireguard. ## If VPN_TYPE is openvpn - OPENVPN_CUSTOM_CONFIG=/gluetun/custom.conf ## If VPN_TYPE is wireguard. Replace below env variables as required. # - VPN_ENDPOINT_IP=1.2.3.4 # Replace with your wg endpoint ip or domain # - VPN_ENDPOINT_PORT=51820 # Replace with wg server port # - WIREGUARD_PUBLIC_KEY=wAUaJMhAq3NFutLHIdF8AN0B5WG8RndfQKLPTEDHal0= # Replace with your wg public key # - WIREGUARD_PRIVATE_KEY=wOEI9rqqbDwnN8/Bpp22sVz48T71vJ4fYmFWujulwUU= # Replace with your wg client private key # - WIREGUARD_PRESHARED_KEY=xOEI9rqqbDwnN8/Bpp22sVz48T71vJ4fYmFWujulwUU= # Replaced with your wg pre-shared key # - WIREGUARD_ADDRESSES="10.64.222.21/32" # Replace with wg address ## Enable volume if VPN_SERVICE_PROVIDER=custom and VPN_TYPE=openvpn is used volumes: # - /yourpath/yourconfig.conf:/gluetun/config.conf:ro - /media/media/gbackup/bin/dockerMS.files/custom/default.ovpn:/gluetun/config.conf:ro - /media/media/gbackup/bin/dockerMS.files/custom/default.ovpn:/gluetun/custom.conf:rw networks: - mynetwork devices: - /dev/net/tun:/dev/net/tun # Uncomment/enable below ports if VPN is used/enabled ports: # qbittorrent ports - 5080:5080 - 6881:6881 - 6881:6881/udp # prowlarr ports - 9696:9696 restart: "unless-stopped" ## Default credentials of qBittorrent - Username: admin password: adminadmin ## ## Change password after install from UI --> Tools --> Options --> WebUI ## qbittorrent: ### profiles: ["qbit"] container_name: qbittorrent image: lscr.io/linuxserver/qbittorrent:5.0.3 # Unomment below if vpn is enabled depends_on: # Uncomment this line if vpn is enabled - vpn # Uncomment this line if vpn is enabled # Comment below lines if VPN is enabled # networks: # Comment this line if vpn is enabled # - mynetwork # Comment this line if vpn is enabled # Unomment below line if vpn is enabled network_mode: service:vpn environment: - PUID=1026 - PGID=100 - TZ=UTC - WEBUI_PORT=5080 volumes: - /media/media/gbackup/bin/dockerMS.files/media-stack_qbittorrent-config:/config - /torrent/torrent/qbit:/downloads - /media/:/media - /volume3/video1/media/:/volume3/video1/media - /volume1/videoA/torrent/:/volume1/videoA/torrent - /2sort/:/2sort - /torrent/:/torrent ## Comment/Disable below ports if VPN is enabled # ports: # - 5080:5080 # - 6881:6881 # - 6881:6881/udp restart: "unless-stopped" radarr: container_name: radarr image: lscr.io/linuxserver/radarr:5.16.3 networks: # - mynetwork # Comment this line if VPN is enabled ## Uncomment below lines if VPN is enabled mynetwork: ipv4_address: 172.20.0.34 # ${RADARR_STATIC_CONTAINER_IP} # It should be available IPv4 address in range of docker network `mynetwork` e.g. 172.20.0.2 environment: - PUID=1026 - PGID=100 - TZ=UTC ports: - 7878:7878 volumes: - /media/media/gbackup/bin/dockerMS.files/media-stack_radarr-config:/config - /torrent/torrent/qbit:/downloads restart: "unless-stopped" sonarr: image: linuxserver/sonarr:4.0.11 container_name: sonarr networks: # - mynetwork # Comment this line if VPN is enabled ## Uncomment below lines if VPN is enabled mynetwork: ipv4_address: 172.20.0.33 # ${SONARR_STATIC_CONTAINER_IP} # It should be available IPv4 address in range of docker network `mynetwork` e.g. 172.20.0.2 environment: - PUID=1026 - PGID=100 - TZ=UTC volumes: - /media/media/gbackup/bin/dockerMS.files/media-stack_sonarr-config:/config - /torrent/torrent/qbit:/downloads ports: - 8989:8989 restart: unless-stopped prowlarr: container_name: prowlarr image: linuxserver/prowlarr:1.28.2 # Uncomment below if vpn is enabled depends_on: # Uncomment this line if vpn is enabled - vpn # Uncomment this line if vpn is enabled network_mode: service:vpn # Uncomment this line if vpn is enabled # networks: # Comment this line if vpn is enabled # - mynetwork # Comment this line if vpn is enabled environment: - PUID=1026 - PGID=100 - TZ=UTC volumes: - /media/media/gbackup/bin/dockerMS.files/media-stack_prowlarr-config:/config # Comment below ports if VPN is enabled. # ports: # - 9696:9696 restart: unless-stopped networks: mynetwork: external: true Quote Share this post Link to post
Staff 10080 Posted ... @webshammo Hello! Apparently the remotely forwarded inbound ports reserved for your AirVPN account are not published in your compose file ports: section so the behavior you observe would be expected. Please add them and also set the environment variable FIREWALL_VPN_INPUT_PORTS accordingly, if necessary. Kind regards Quote Share this post Link to post