This repository has been archived on 2023-06-10. You can view files and clone it, but cannot push or open issues or pull requests.
2022-03-06 19:20:21 +01:00
2022-03-06 15:55:58 +01:00
2022-03-06 15:55:58 +01:00
2022-03-06 15:55:58 +01:00
2022-03-06 15:55:58 +01:00
2022-03-06 15:55:58 +01:00
2022-03-06 18:33:24 +01:00
2022-03-06 19:10:33 +01:00

mullvad-best-server

Build

Determines the mullvat.net wireguard server with the lowest latency.

Installation

Download binary from releases for your platform and unpack.

Usage

Default usage

Execute mullvad-best-server. It outputs the code, e.g. de05. You can then connect to it with e.g. wireguard using the normal shell scripts.

Command line parameters

Usage of dist/mullvad-best-server_darwin_amd64/mullvad-best-server:
-c string
  Server country code, e.g. ch for Switzerland (default "ch")
-o string
  Output format. 'json' outputs server json
-t string
  Server type, e.g. wireguard (default "wireguard")

If you want the full server information, execute mullvad-best-server -o json. It returns the full json output of the server information. The -c flag allows to give a country code. Else ch will be used.

Background

The program uses https://api.mullvad.net/www/relays/<SERVER_TYPE/ to get the current server list, pings the ones with the right country and outputs the server with the lowest ping.

Description
Determines the Mullvad server with the lowest latency
Readme 82 KiB
Languages
Go 72.7%
Makefile 27.3%