Skip to content

Gets the list of Mullvad servers with the best latency according to ping

License

Notifications You must be signed in to change notification settings

paschun/mullvad-ping

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mullvad Ping

Gets the list of Mullvad servers with the best latency according to ping.

Run

deno run --allow-net --allow-run https://raw.githubusercontent.com/grant0417/mullvad-ping/main/script.ts

Build Exe

deno compile --allow-net --allow-run -o mullvad-ping https://raw.githubusercontent.com/grant0417/mullvad-ping/main/script.ts

Note: The Windows version of ping is somewhat more limited than that of Linux or Mac so the times are less precice and the script will take ~5x longer.

Usage

Usage: script [OPTION]
    --country <code>      the country you want to query (eg. us, gb, de)
    --list-countries      lists the available countries
    --type <type>         the type of server to query (openvpn, bridge, wireguard, all)
    --count <n>           the number of pings to the server (default 3)
    --interval <i>        the interval between pings in seconds (default/min 0.2)
    --top <n>             the number of top servers to show, (0=all)
    --port-speed <n>      only show servers with at least n Gigabit port speed
    --provider <name>     only show servers from the given provider
    --owned <true|false>  only show servers owned by Mullvad
    --run-mode <type>     only show servers running from (all, ram, disk)
    --help                usage information

Installation Guides

Windows Subsystem for Linux (WSL) [w/ default distro Ubuntu 20.04 LTS]

Pre-requisites:

Install Windows Subsystem for Linux (WSL): Guide

Install Deno: Guide

Now you can run the script:

deno run --allow-net --allow-run https://raw.githubusercontent.com/grant0417/mullvad-ping/main/script.ts

About

Gets the list of Mullvad servers with the best latency according to ping

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 97.6%
  • Shell 2.4%