Skip to content

Two tunnels, one network

· vpn, network, security

WireGuard holds distant locations together, OpenVPN opens the way to the US — and certificates decide who may enter.

To many people a VPN is a tool for hiding their address. Here it has another job: it connects places that lie far apart — across countries and time zones. That takes two tunnels and a clear answer to the question of who gets in.

Why a network of our own

Anyone who works in several places knows the problem: every place has a different machine, and none of them knows about the others. A shared network fixes that. The devices find each other as if they stood side by side, and nobody has to set up a port forward in a router for it.

Anonymity plays no part here. The devices are meant to reach each other even though they lie far apart.

WireGuard: the backbone

The backbone is WireGuard. It is the youngest of the common protocols, and that shows in several places:

  • Lean. WireGuard is a few thousand lines of code. The small size reduces how much code has to be reviewed and maintained.
  • Fast. The tunnel runs inside the Linux kernel rather than as a separate program next to it. Little work per packet, high throughput, low latency.
  • Quick to set up. The setup is short: two keys, no certificate exchange, no negotiation.
  • Current cryptography. Curve25519, ChaCha20 and BLAKE2s, without the legacy baggage older tunnel protocols carry.
  • Network changes do not break it. A device may move from Wi-Fi to mobile data without the tunnel dropping. It finds the other end again by itself.
  • The same everywhere. One small configuration runs on a server, a laptop and a single-board computer.

It is built as a star: one hub that everything else hangs off. Less elegant than a full mesh, but far easier to run — one place for the keys, one place to look when something is wrong.

The way out: OpenVPN

The second tunnel serves a different purpose: some services only work with an American address. For that a rented server stands in Chicago at Sharktech , a provider that rents out such machines.

OpenVPN runs there, the older and much more talkative protocol. It works with certificates and offers several ways in: the fast one over UDP and two over TCP, one of them on port 443. To a firewall that looks like an ordinary web page, which is why it also gets through where nothing else is allowed.

The certificate system

OpenVPN trusts a certificate authority (CA). You can picture it as a stamp: whoever presents a certificate bearing it is let in. Here the stamp sits offline, on a machine without network access, and its key is protected by a passphrase. Without access to that machine and the passphrase the stamp cannot be copied.

The flow:

  • One server certificate identifies the server.
  • One certificate per device. That way a single device can be locked out without touching the others.
  • A revocation list names the certificates that no longer apply.
  • One profile per device holds certificate, key and server address. It never leaves by mail but is handed over through the vault — whoever has the profile is in.

That is more work than one shared key. It is the difference between “someone has the key” and “this one device is no longer allowed”.

Why two protocols

WireGuard is faster and simpler, but cannot fall back to another port. OpenVPN is slower and more work to manage, but it gets through networks that only allow 443, and it can revoke certificates one by one; with WireGuard you take the key out.

Two protocols mean two key managements and two kinds of failure. Connecting and leaving are different jobs; that is why it stays two.

What it adds up to

The places behave like one network, no matter how far apart they lie. Access is governed: whoever is allowed gets in, whoever is not is locked out. The way into America runs over certificates; there is no single key that everybody shares.

Partner links are marked as advertising and carry rel="sponsored".

Sources

All addresses checked on 25 November 2026, each answered HTTP 200.

  1. WireGuard, project page: https://www.wireguard.com/
  2. WireGuard, technical whitepaper (PDF): https://www.wireguard.com/papers/wireguard.pdf
  3. WireGuard, quick start: https://www.wireguard.com/quickstart/
  4. OpenVPN, community edition: https://openvpn.net/community/
  5. OpenVPN, how-to: https://openvpn.net/community-resources/how-to/
  6. easy-rsa, certificate management for OpenVPN: https://github.com/OpenVPN/easy-rsa
  7. RFC 7748, Curve25519 and X25519: https://www.rfc-editor.org/rfc/rfc7748
  8. RFC 8439, ChaCha20 and Poly1305: https://www.rfc-editor.org/rfc/rfc8439
  9. RFC 7693, BLAKE2: https://www.rfc-editor.org/rfc/rfc7693
  10. RFC 5280, X.509 certificates and revocation lists: https://www.rfc-editor.org/rfc/rfc5280
  11. Sharktech, server rental: https://www.sharktech.net/

← all posts