Question: Does specifying location tell Gluetun to use IPs within the servers.json list?
I'm having a ton of trouble getting Gluetun to work with Surfshark (waiting for contract to expire to move to Proton or Mullvad).
I cannot get gluetun to update the server.json file as it times out at the fetch process for surfshark.
I've tried different combinations of specifying the IP that surfshark gives me when setting up Wireguard access, only specifying the locations, etc.
I tried to just use the Country, Region and City options to see if it uses any of the IPs in the servers.json file, but it doesn't show in the logs.
Here is my compose:
gluetun:
image: qmcgaw/gluetun:latest
container_name: gluetun
hostname: gluetun
logging:
driver: json-file
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun:/dev/net/tun
ports:
- 6881:6881 # qbittorrent
- 6881:6881/udp # qbittorrent
- 6767:6767 # Bazarr
- 7878:7878 # Radarr
- 8081:8081 # qbittorrent webUI
- 8191:8191 # Flaresolverr
- 8989:8989 # Sonarr
- 9696:9696 # Prowlarr
- 8888:8888/tcp # HTTP proxy
- 8388:8388/tcp # Shadowsocks
- 8388:8388/udp # Shadowsocks
volumes:
- /srv/gluetun:/gluetun
dns:
- 192.168.1.18 #probably doesn't work?
environment:
- PUID=1000
- PGID=1000
- TZ=America/New_York
- UPDATER_MIN_RATIO=0.5
- FIREWALL_OUTBOUND_SUBNETS=172.20.0.0/16,192.168.0.0/24
- VPN_SERVICE_PROVIDER=surfshark
- VPN_TYPE=wireguard
- WIREGUARD_PRIVATE_KEY=<REDACTED>
- WIREGUARD_ENDPOINT_IP=45.144.115.40 #not in servers.json
- WIREGUARD_ADDRESSES=10.14.0.2/16
- WIREGUARD_MTU=1280
- SERVER_COUNTRIES="United States"
- SERVER_CITIES=Ashburn,Atlanta # primary and backup VPN Locations
- SERVER_HOSTNAME=us-ash.prod.surfshark.com,us-atl.prod.surfshark.com # primary and backup VPN Locations
- DNS_ADDRESS=162.252.172.57 #surfshark DNS Server
- UPDATER_PERIOD=730h
#- UPDATER_VPN_SERVICE_PROVIDERS=surfshark
- LOG_LEVEL=debug