Hetzner VPS provider - fathzer/terra-vpn GitHub Wiki

An German provider

Pros:

  • A large free outbound traffic
  • Good prices
  • Cheapest instance have good capacities (4Gb RAM, 2 vCPU)
  • Clean Web GUI
  • Very good documentation

Cons:

  • Only a small number of countries available.

Default values

{
    "region": "nbg1",
    "instance_type": "cx22",
}

The list of regions is available using their API. The call is a GET on https://api.hetzner.cloud/v1/locations/ which must be authenticated with your API token (see below).

Configuration

User token

  • token: Your Hetzner API token

You should first enable the API in your Hetzner account and create a token. Both are reachable from any page of Hetzner console, under the Security at the bottom of the left navigation bar.

SSH keys

  • ssh_key_name: The name of the SSH key to use to connect to the VPS.

You need to upload your public SSH key to Vultr before deploying the VPS. You can do that using the SSH keys menu item beside your account name (top right corner) in the Vultr console.

The default key name is odvpn.

Configuration example

{
    "vps": {
        "provider": "hetzner",
        "config": {
            "token": "your_hetzner_access_token",
            "ssh_key_name": "your_ssh_key_name",
        }
    },
    "ddns": {
        "provider": "afraid",
        "config": {
            "token": "your_afraid_token",
        }
    },
    "vpn": {
        "hostname": "your_hostname"
    }
}
⚠️ **GitHub.com Fallback** ⚠️