randompersona 0 Posted ... 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. Quote Share this post Link to post
Hypertext1071 4 Posted ... 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! 1 randompersona reacted to this Quote Share this post Link to post
Staff 9972 Posted ... @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 1 randompersona reacted to this Quote Share this post Link to post
randompersona 0 Posted ... 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^^ Quote Share this post Link to post
Staff 9972 Posted ... 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 Quote Share this post Link to post