ezvpnguides

The Windows app

A native Windows app for x64 that connects to an ezvpn server. It keeps saved profiles, connects one at a time, and runs a dual-stack split tunnel: the server's gateway is always routed, plus the IPv4 and IPv6 ranges you add. It runs as administrator, and it keeps going in the system tray when you close its window.

Before you start

You need:

  • A running ezvpn server. See Set up a server. To reach a whole LAN behind it, not just the server, see Reach the whole site LAN.
  • The server's endpoint ID. The server prints it when it starts (or see Server node id). The app calls it the Server node id.
  • Access to the server's authorized_keys file. The app makes its own key; its public line goes in that file, with an optional name after it:
authorized_keys
ed25519-pub:AAAA...  this pc

The server reads that file when it starts, so restart it after you add a line.

Install

  1. Download ezvpn.msi from the latest release.
  2. Run it. The installer is not code-signed, so SmartScreen may stop it with "Windows protected your PC": click More info, then Run anyway.
  3. Go through the wizard. It adds ezvpn to the Start menu.

To update, install a newer release the same way.

First launch

Start ezvpn from the Start menu and accept the UAC prompt; the app needs administrator rights to create the tunnel adapter and routes. The window shows Welcome to ezvpn with the two steps below: Create an auth key and Add profile.

First launch. Screenshots on this page were taken with the app 0.0.21 on core 0.0.76, as its left pane shows.

Create an auth key

Keys live in one list shared by all profiles, stored in Windows Credential Manager.

  1. Click Create an auth key, or Auth keys at the bottom of the left pane.
  2. Under Add a key, type a Name (for example "this pc"), leave the secret key field empty, and click Add key.
  3. Click the key's copy button (Copy public key). Add that ed25519-pub:… line to the server's authorized_keys file and restart the server.
Auth keys with one key, its public half below its name, and the form to add another.

To reuse a key from another device or from flexaccess-keys generate-auth-key, paste its ed25519-sec:… secret into the secret field instead.

Add a profile

Click Add profile (Ctrl+N). Fill in a Name (for example "work"), the Server node id, and the Auth key. Optionally add IPv4 routes and IPv6 routes: comma-separated CIDRs to send through the tunnel, such as 10.0.0.0/8, 192.168.0.0/16 or fd00::/8. The server's gateway is always routed.

Use 0.0.0.0/0 or ::/0 to route the whole address family through the tunnel. See Full tunnel (experimental).

A new profile: name, the server's node id, the auth key with its public key, and the routes to send through the tunnel.

Click Save. Custom relays and reconnect settings are under Advanced; see Advanced settings. A route that overlaps the network the PC is on is refused; see Troubleshooting. To change a profile, disconnect it, select it and click Edit (F2).

Connect and disconnect

Select the profile in the left pane and click Connect. The status card shows the state and, once connected, the assigned address. Click Disconnect to take the tunnel down. Only one tunnel runs at a time: on another profile the button reads Switch here. Each status is explained in Connection states.

Connected: the status card, the Connection card, and the profile's settings below.

Connection path… shows whether the server is reached directly or through a relay, and the health of any custom relays.

Connection path…: the relay and the direct path, with the one in use marked active.

Reconnects

A server that is down, or a connection that drops, is retried with backoff, and the status reads Reconnecting…. Failures that would repeat, such as a refused key or a route that overlaps the local network, are not retried: the profile shows Stopped with the reason.

The system tray

Closing the window hides it to the system tray; the app and any tunnel keep running. Right-click the icon to connect a profile, Disconnect, Show ezvpn, or Quit ezvpn.

The tray menu while connected.

Advanced settings

The profile editor scrolled to Advanced.
  • Custom relay URLs: leave blank for the default relays. If the server runs on its own relays, list every relay it is configured with.
  • Relay token: optional, if the relays require one.
  • QUIC address discovery: turn it off for relays behind a Cloudflare Tunnel or another HTTP-only front.
  • Reconnect automatically when the connection drops and Give up after this many attempts: the retry behavior, on with no limit by default.

Troubleshooting

  • "refusing to start: split-tunnel route … overlaps current network …". A route covers the subnet the PC is on, which would cut off the LAN. Narrow the route, or use a server network that does not clash with the networks you connect from.
  • The key is refused. Check that the profile's key is in the server's authorized_keys and that the server was restarted after it was added.
  • Off-LAN connects time out with custom relays. List every relay the server uses in Custom relay URLs.
  • "ezvpn cannot start". Reinstall from the MSI.

The log is %ProgramData%\ezvpn\ezvpn.log:

PowerShell
notepad $env:ProgramData\ezvpn\ezvpn.log