Jump to content
Not connected, Your IP: 3.147.74.33
em9991

ANSWERED issue with gluetun port forwarding

Recommended Posts

hello,

i am switching my gluetun container from mulvad to airvpn, and am having issues getting port forwarding to work. the container works fine when i do not have port forwarding enabled. my docker compose is below. it is populated with values from here: https://airvpn.org/generator/
 

  gluetun:
    image: qmcgaw/gluetun
    container_name: gluetun
    cap_add:
      - NET_ADMIN
    devices:
      - /dev/net/tun:/dev/net/tun
    ports:
      - 8080:8080 #qbittorrent
      - 6881:6881 #qbittorrent
      - 6881:6881/udp #qbittorrent
      - 9696:9696 #prowlarr
      - 8989:8989 #sonarr
      - 7878:7878 #radarr
      - 6767:6767 #bazarr
    volumes:
      - ./gluetun:/gluetun
    environment:
      - VPN_SERVICE_PROVIDER=airvpn
      - VPN_TYPE=wireguard
      - WIREGUARD_PRIVATE_KEY=
      - WIREGUARD_PRESHARED_KEY=
      - WIREGUARD_ADDRESSES=
      - SERVER_COUNTRIES=United States
      - SERVER_CITITES="Chicago Illinois"
      - FIREWALL_VPN_INPUT_PORTS=
      - TZ=America/Chicago

Share this post


Link to post
@em9991

Hello!

All the ports listed in the compose file are not reserved to your account and the only port you reserved in your AirVPN account port panel is not listed in the compose file. By fixing the ports section you should be able to resolve the issue. Please reserve one random port for each listening program and adjust the compose and program settings accordingly.

Kind regards
 

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...