Jump to content
Not connected, Your IP: 3.141.8.247

Recommended Posts

Hallo Forum,

I am trying to set this up and somehow I am losing my mind. I am a bit confused with the wireguard config I am generating from airvpn as well.

 

Quote
version: "3"
services:
  gluetun:
    image: qmcgaw/gluetun
    cap_add:
      - NET_ADMIN
    ports:
      - 41870:41870
      - 41870:41870/udp
      - 8085:8085
    environment:
      - TZ=Europe/Amsterdam
      - VPN_SERVICE_PROVIDER=airvpn
      - VPN_TYPE=wireguard
      - VPN_ENDPOINT_IP=213.152.186.42
      - VPN_ENDPOINT_PORT=1637
      - DNS_ADDRESS=10.128.0.1
      - WIREGUARD_PUBLIC_KEY=
      - WIREGUARD_PRIVATE_KEY=
      - WIREGUARD_PRESHARED_KEY=
      - WIREGUARD_ADDRESSES=10.164.20.6
      - SERVER_COUNTRIES=Netherlands
      - FIREWALL_VPN_INPUT_PORTS="41870"
    volumes:
      - /media/glueton:/gluetun

  qbittorrent:
      image: linuxserver/qbittorrent
      container_name: qbittorrent
      network_mode: service:gluetun
      environment:
        - PUID=1000
        - PGID=1000
        - TZ=Europe/Berlin
        - WEBUI_PORT=8058
        - UMASK_SET=022
      volumes:
        - /media/qbittorent/config:/config
        - /media/moenas/media/Downloads:/downloads
      depends_on:
        - gluetun
      restart: always
~                                                                                                ~                                                                                                ~                                                                                                ~                                              

Error I am getting is:
 
Quote

2024-04-05T19:05:43+02:00 ERROR [vpn] finding a VPN server: target IP address not found: in 70 filtered connections

No Idea what exactly is wrong since I got all the data from the config generator.

Share this post


Link to post

I believe you don't set VPN_ENDPOINT_IP, rather try using SERVER_NAMES. Also for port forwarding, change it to FIREWALL_VPN_INPUT_PORTS=41870. You can find more information here: https://github.com/qdm12/gluetun-wiki/blob/main/setup/providers/airvpn.md. If the server you want is not on the list then just follow the instructions for custom Wireguard configuration, which can be found here: https://github.com/qdm12/gluetun-wiki/blob/main/setup/providers/custom.md. Hope this helps!

Share this post


Link to post
@randompersona

Hello!

We see that you solved the problem related to the connections.

Now that the main problem is solved, on top of @Hypertext1071 suggestions, please also note that you enabled your remotely forwarded port(s) for one specific device only, but you are currently connecting with different devices, so you don't have the port forwarded by the AirVPN server.

Kind regards
 

Share this post


Link to post
9 hours ago, Staff said:
@randompersona

Hello!

We see that you solved the problem related to the connections.

Now that the main problem is solved, on top of @Hypertext1071 suggestions, please also note that you enabled your remotely forwarded port(s) for one specific device only, but you are currently connecting with different devices, so you don't have the port forwarded by the AirVPN server.

Kind regards
 


Hi,

yeah no worries since I am only going to use one connection I can still use this port or I will just request another port for a different device?



Anyhow this is the fixed config... I was stupid reading forum entries on how to set it up when it was all correctly stated in the readme.... :
 
version: "3"
services:
  gluetun:
    image: qmcgaw/gluetun
    cap_add:
      - NET_ADMIN
    networks:
      mvl-200:
        ipv4_address: 10.60.1.5
    ports:
      - 41870:41870
      - 41870:41870/udp
      - 80:80
    environment:
      - VPN_SERVICE_PROVIDER=airvpn
      - VPN_TYPE=wireguard
      - WIREGUARD_PRIVATE_KEY=xxxxxxxxxxxx
      - WIREGUARD_PRESHARED_KEY=xxxxxxxxxxxx
      - WIREGUARD_ADDRESSES=xxxxxxxxxxxxxx
      - SERVER_COUNTRIES=Netherlands
      - FIREWALL_VPN_INPUT_PORTS=xxxxxxxxxxxx

    volumes:
      - /media/glueton:/gluetun

maybe somebody as dumb as me googles this and it helps^^

Share this post


Link to post
1 minute ago, randompersona said:

yeah no worries since I am only going to use one connection I can still use this port or I will just request another port for a different device?


Hello!

Yes, you can still use this port by changing the "Device" combo box of the specific port to "Any device", or to the name of the device you will regularly use to connect to VPN servers.

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