Page 1 of 1

Gluetun and AIRVPN

Posted: Fri Aug 01, 2025 12:31 am
by kromz

swear to goodness I have tried a million different iterations. I literally need
"EXPLAIN TO ME LIKE I AM 5 - how to setup vpn in YAMS."

I tried wireguard.

Failed to get qBittorrent IP from any endpoint

I know I am missing something inherently basic.

I just cant seem to get past the failure message.

I have copied and pasted every single option that I can think of to make this work. I have taken examples from airvpn's page as well as YAMS walkthrough for vpns including AIRVPN

Here is a copy of my YAML for GLUETUN

Someone please put me out of my misery :P

Gluetun is our VPN, so you can download torrents safely

gluetun:
image: qmcgaw/gluetun:v3
container_name: gluetun
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun:/dev/net/tun
ports:
- 8888:8888/tcp # HTTP proxy
- 8388:8388/tcp # Shadowsocks
- 8388:8388/udp # Shadowsocks
- 8003:8000/tcp # Admin
- 8080:8080/tcp # gluetun
- 8081:8081/tcp # gluetun
environment:
- VPN_SERVICE_PROVIDER=airvpn
- VPN_TYPE=wireguard
- WIREGUARD_PRIVATE_KEY=REDACTED
- WIREGUARD_PUBLIC_KEY=REDACTED
- WIREGUARD_PRESHARED_KEY=REDACTED
- WIREGUARD_ADDRESSES=1REDACTED
- SERVER_COUNTRIES=Europe
- OPENVPN_CIPHERS=AES-256-GCM
- PUID=1000
- PGID=1000
- TZ=America/New_York

Code: Select all

  #- VPN_PORT_FORWARDING=on
  #- VPN_PORT_FORWARDING_PROVIDER=airvpn
  #- PORT_FORWARD_ONLY=on
  - OPENVPN_USER=REDACTED
  - OPENVPN_PASSWORD=REDACTED
  - OPENVPN_CIPHERS=AES-256-GCM
  #- PORT_FORWARD_ONLY=off
  - VPN_PORT_FORWARDING=off
  - FIREWALL_OUTBOUND_SUBNETS=172.60.0.0/24
restart: unless-stopped
networks:
  yams_network:
    ipv4_address: 172.60.0.18

Re: Gluetun and AIRVPN

Posted: Fri Aug 01, 2025 12:32 am
by kromz

FYI I did search.... I did read.... I did triple check... I am missing something inherently stupid I am sure

TIA!!!


Re: Gluetun and AIRVPN

Posted: Fri Aug 01, 2025 12:44 pm
by rogs

Hey @kromz!

Did you read the documentation for AirVPN? I'm guessing that you didn't, because there are two things I see are incorrect:

  • AirVPN doesn't need a WIREGUARD_PUBLIC_KEY.
  • "Europe" is not a valid country for SERVER_COUNTRIES.

Please, read the docs for your VPN.

Cheers!

Roger.


Re: Gluetun and AIRVPN

Posted: Fri Aug 01, 2025 5:01 pm
by kromz

i did i promise.... i really tried every iteration of options and kept getting errors so i tried this version and it failed...

I will take another look and try again.

i think my issue is that i am able to run gluetun on its own in docker with airvpn .....

anyway thanks for the reply.... i dont like to waste people's time .... but sometimes i just dont get stuff :)

best,
Paul


Re: Gluetun and AIRVPN

Posted: Fri Aug 01, 2025 6:12 pm
by rogs

No worries Paul! We are all learning here :mrgreen:

Let me know if you tried things our and need more help

Cheers!

Roger.


Re: Gluetun and AIRVPN

Posted: Fri Aug 01, 2025 9:05 pm
by kromz

see i knew it was something basic...........like really basic. :oops:
THANK YOU :lol: :D

THANKS AGAIN ROGER!!!!!!!!!!!!!!!!!!!!!!!