Jump to content
Not connected, Your IP: 216.73.216.120
Sign in to follow this  
applepiefly

Trouble getting AirVPN port forwarding working with gluetun.

Recommended Posts

This is my docker compose file below. I had it working earlier just fine, but as of a recent system restart everything seems to be working properly except for port forwarding.
services:
  gluetun:
    image: qmcgaw/gluetun:latest
    container_name: gluetun
    devices:
      - /dev/net/tun:/dev/net/tun
    restart: unless-stopped
    cap_add:
      - NET_ADMIN
    ports:
      - 8888:8888/tcp # HTTP proxy
      - 8388:8388/tcp # Shadowsocks
      - 8388:8388/udp # Shadowsocks
      - 8080:8080     # qbit
      - 50231:50231   #firewall port
      - 80:80
    volumes:
      - /docker/gluetun:/gluetun
    environment:
      - VPN_SERVICE_PROVIDER=airvpn
      - VPN_TYPE=wireguard
      - WIREGUARD_PRIVATE_KEY=redacted
      - WIREGUARD_ADDRESSES=redacted
      - WIREGUARD_PRESHARED_KEY=redacted
      - FIREWALL_VPN_INPUT_PORTS=50231
      - SERVER_NAMES=Meridiana
      # Timezone for accurate log times
      - TZ=America/Chicago
      - UPDATER_PERIOD=24h

  qbittorrent:
    image: lscr.io/linuxserver/qbittorrent:latest
    container_name: qbittorrent
    network_mode: "service:gluetun"
    depends_on:
      - gluetun
    environment:
      - TZ=America/Chicago
      - WEBUI_PORT=8080
      - TORRENTING_PORT=50231
      - PGID=1000
      - PUID=1000
    volumes:
      - /docker/gluetun/qbittorrent/config:/config
      - /box/plex/downloads:/downloads
      - /box/plex/downloads:/box/plex/downloads
    restart: unless-stopped

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
Sign in to follow this  

×
×
  • Create New...