Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with gluetun config #53

Closed
Qbaakr opened this issue Jan 15, 2024 · 3 comments
Closed

problem with gluetun config #53

Qbaakr opened this issue Jan 15, 2024 · 3 comments

Comments

@Qbaakr
Copy link

Qbaakr commented Jan 15, 2024

Hello
Does anyone know where to add a parameter to make Gluetun select a specific server?
I mean, for example, a country or a region?
sometimes it happens to me that it gets an IP from another continent
I tried both in services surfshark.yaml and in custom in the custom.yaml file
when adding server information, it throws a container error
I know you could set an end point - but then there is one specific one, and some providers, e.g. sufrshark, provide addresses in the form of a name, not in the form of an IP
Kind Regrads

@tblaudez
Copy link

Hey there,

I use Gluetun with NordVPN as a provider, I entered the informations about what continent/country/region I want to connect to within the custom docker-compose.yaml I use for this service.

NordVPN provides an OpenVPN configuration and many options to choose a specific server ; I don't know if Surfshark does the same.
This documentation might help you : https://github.com/qdm12/gluetun-wiki/blob/main/setup/servers.md

My config looks like this :

services:
  gluetun:
    image: qmcgaw/gluetun
    container_name: gluetun
    restart: always
    cap_add:
      - NET_ADMIN
    environment:
      - PUID=${PUID}
      - PGID=${PGID}
      - TZ=${TZ}
      - VPN_SERVICE_PROVIDER=nordvpn
      - VPN_TYPE=openvpn
      - OPENVPN_USER=${OPENVPN_USER}
      - OPENVPN_PASSWORD=${OPENVPN_PASSWORD}
      - SERVER_REGIONS=Netherlands

volumes:
  configgluetun:
    driver: local-persist
    driver_opts:
      mountpoint: $HOST_CONFIG_PATH/gluetun

@Qbaakr
Copy link
Author

Qbaakr commented Jan 25, 2024

Hey
It works - just not the region, because that would be Europe, but country. it shows up in the logs, it immediately gets the IP, but - sites for checking torrent IP (because I check through the file with deluge) work dramatically slowly. but I suspect it's a settings issue.
I'll keep digging and see what I can come up with, maybe it's a matter of setting the given DNS ;) but I'll have some fun over the weekend
I'll let you know what I managed to do ;)
He thanked me ;)

@Qbaakr
Copy link
Author

Qbaakr commented Jan 30, 2024

So far the problem is not solved :(
He will say that it worked, limiting servers to the country and not by IP. I don't know what error I'm making in the configuration, but it doesn't accept a specific server

@Qbaakr Qbaakr closed this as not planned Won't fix, can't repro, duplicate, stale Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants