Skip to content

VPN access

We use a WireGuard-based VPN for remote connections into the Majava network.

Administrator documentation for this service is available at /services/wireguard/.


In order to connect, you need to get access. First, generate a keypair:

$ wg genkey | tee privatekey | wg pubkey > publickey
This will generate a private key in privateky and the matching public key in publickey. Send the public key to a root, and you will get an IP address back as a response.

Then create a WireGuard config file:

Address    = <IP>/24
PrivateKey = <PRIVATE KEY>
DNS        =

PublicKey           = myIcatduLGUuB1KZAxpE5t2YFMIrlon4JZ5xsbpVy0c=
Endpoint            =
PersistentKeepalive = 25
AllowedIPs          =,


The server key can also be downloaded from

$ host -tCNAME is an alias for
$ curl "" | jq '.[""].gateway'