gluetun icon indicating copy to clipboard operation
gluetun copied to clipboard

Bug: Port Forwarding not working on Air VPN

Open ooTruffle opened this issue 6 months ago • 2 comments

Is this urgent?

No

Host OS

Debian bookworm

CPU arch

x86_64

VPN service provider

AirVPN

What are you using to run the container

docker-compose

What is the version of Gluetun

airvpn | Running version latest built on 2025-01-22T08:30:14.628Z (commit 13532c8)

What's the problem 🤔

When trying to setup port forwarding for torrneting the container just stops itself, im notsure what to put to get this to work

Share your logs (at least 10 lines)

airvpn  | ========================================
airvpn  | ========================================
airvpn  | =============== gluetun ================
airvpn  | ========================================
airvpn  | =========== Made with ❤️ by ============
airvpn  | ======= https://github.com/qdm12 =======
airvpn  | ========================================
airvpn  | ========================================
airvpn  | 
airvpn  | Running version latest built on 2025-01-22T08:30:14.628Z (commit 13532c8)
airvpn  | 
airvpn  | 🔧 Need help? ☕ Discussion? https://github.com/qdm12/gluetun/discussions/new/choose
airvpn  | 🐛 Bug? ✨ New feature? https://github.com/qdm12/gluetun/issues/new/choose
airvpn  | 💻 Email? [email protected]
airvpn  | 💰 Help me? https://www.paypal.me/qmcgaw https://github.com/sponsors/qdm12
airvpn  | 2025-05-19T15:42:50Z INFO [routing] default route found: interface eth0, gateway 192.168.16.1, assigned IP 192.168.16.2 and family v4
airvpn  | 2025-05-19T15:42:50Z INFO [routing] local ethernet link found: eth0
airvpn  | 2025-05-19T15:42:50Z INFO [routing] local ipnet found: 192.168.16.0/20
airvpn  | 2025-05-19T15:42:50Z INFO [firewall] enabling...
airvpn  | 2025-05-19T15:42:50Z INFO [firewall] enabled successfully
airvpn  | 2025-05-19T15:42:51Z INFO [storage] merging by most recent 20776 hardcoded servers and 20776 servers read from /gluetun/servers.json
airvpn  | 2025-05-19T15:42:51Z ERROR VPN settings: provider settings: port forwarding: port forwarding cannot be enabled: value is not one of the possible choices: airvpn must be one of perfect privacy, private internet access, privatevpn or protonvpn
airvpn  | 2025-05-19T15:42:51Z INFO Shutdown successful
airvpn exited with code 1

Share your configuration

version: "3"
services:
  gluetun:
    image: qmcgaw/gluetun
    container_name: airvpn
    cap_add:
      - NET_ADMIN
    devices:
      - /dev/net/tun:/dev/net/tun
    environment:
      - VPN_SERVICE_PROVIDER=airvpn
      - FIREWALL_OUTBOUND_SUBNETS=[localip]
      - FIREWALL_VPN_INPUT_PORTS=9856
      - VPN_PORT_FORWARDING=ON
      - VPN_PORT_FORWARDING_PROVIDER=airvpn
    volumes:
      - /home/truffle/gluetun:/gluetun
    ports:
      - 8112:8112
      - 8080:8080
      - 58846:58846 #optional
networks: {}

ooTruffle avatar May 19 '25 15:05 ooTruffle

@qdm12 is more or less the only maintainer of this project and works on it in his free time. Please:

  • do not ask for updates, be patient
  • :+1: the issue to show your support instead of commenting @qdm12 usually checks issues at least once a week, if this is a new urgent bug, revert to an older tagged container image

github-actions[bot] avatar May 19 '25 15:05 github-actions[bot]

Just remove these environment variables:

VPN_PORT_FORWARDING=ON
VPN_PORT_FORWARDING_PROVIDER=airvpn

Only FIREWALL_VPN_INPUT_PORTS is required.

jaimedelano avatar Jun 02 '25 01:06 jaimedelano

This also does not work for me. I can download, but no seeding. airvpn is not in the "supported list" the container logs out when this is included, which seems to suggest it's not supported despite the wiki:

VPN_PORT_FORWARDING=ON
VPN_PORT_FORWARDING_PROVIDER=airvpn

AirVPN support would be really nice.

cachemap avatar Sep 26 '25 22:09 cachemap

AirVPN support would be really nice.

Thing is, it was supported. I just came here because I noticed Transmission said the port was closed. Checking the port from https://airvpn.org/ports/ indicates that it's open, though. Not sure what's going on.

Edit: https://portchecker.co/check-v0 also indicates it's working. Maybe Transmission is my issue?

Double edit: seems to be Transmission that has the issue: https://github.com/transmission/transmission/issues/7698

cvsickle avatar Sep 27 '25 01:09 cvsickle