Story

Small, unprivileged and quiet

A VPN hub is the one machine that decides who gets into your network. It should be easy to run, hard to reach, hard to abuse and silent about what happens on it. Islandr is designed around exactly that — and each decision has a price.

Christian Cohnen · November 2026

One native binary instead of a runtime to maintain

Islandr is written in Java with Quarkus and compiled ahead of time with GraalVM (Mandrel) into a native executable. On the hub there is one file and a systemd unit. No Java runtime to install, patch and keep in step, no interpreter, no package tree.

A native image is a closed world: only code known at build time is in it, and nothing is loaded at run time. That narrows what an attacker can make the process do. It also starts in a fraction of a second and needs little memory, so Islandr runs on a small VPS or a mini PC, and update.sh can start a new version, see whether it stays up and roll back if it does not.

No PHP, no web server, nothing to keep in step

Many WireGuard admin panels are PHP applications. They need a web server, PHP-FPM, a set of PHP extensions and a PHP version the panel still supports — and a VPS that updates PHP for its own reasons can break the panel, while a VPS that does not update it runs an old interpreter on the public internet. Classic PHP setups also let the web server write files it will later execute, which is how an upload hole turns into a web shell.

Islandr has none of these parts. The binary serves HTTPS itself, nothing on the hub interprets code at run time, and nothing Islandr writes is ever executed. Updating means replacing one file, and the operating system's PHP, Python or Node versions do not matter to it at all.

Root for two verbs, not for the process

Managing a VPN needs root at two points: loading firewall rules and changing WireGuard peers. Islandr does not run as root for that. It runs as its own system user, islandr, with no login shell and write access only to its data directory. For the two verbs it may call exactly these commands through sudo:

nft -c -f /var/lib/islandr/islandr-nft-*.nft   # check a ruleset
nft -f    /var/lib/islandr/islandr-nft-*.nft   # load it
nft delete table inet islandr
wg set  wg0 …                                  # add, change, remove peers
wg show wg0 dump                               # read handshakes and counters

Nothing else — no sudo ALL, no shell. Creating keys needs no root at all: Islandr does it as its own user, with wg genkey on a native install and inside the process in the container. Islandr does not write the WireGuard config file either; peers are set on the running interface, and the file stays as you wrote it. The rules live in a table of their own, inet islandr, which watches only traffic entering or leaving through WireGuard, so the rest of the host's firewall stays yours. And when the hub boots, a minimal fail-closed ruleset is in place before Islandr starts: a hub whose Islandr does not come up blocks the tunnel instead of opening it.

Nothing to attack from the internet

The safest web interface is one nobody outside can reach. Islandr can bind its console and portal to the hub's WireGuard address instead of every interface. Then the only port the internet sees is WireGuard's UDP port, and WireGuard does not answer a packet that is not signed with a known key. To a scanner the hub looks like nothing is there.

Only people who already hold a valid device key reach the login page, and they still sign in there. That moves the web layer — the part of any application where most holes are found — behind the tunnel. The price: Let's Encrypt cannot reach the hub over port 80, so the certificate comes from the DNS challenge or from you, and a user's first device comes from an admin as a QR code or file instead of from the portal.

If you keep the console public — the default, so Let's Encrypt works out of the box — the internet sees the login page and nothing behind it. Every failed attempt is counted twice, against the account and against the source address, and the next answer is held back longer each time, up to five seconds. It slows guessing and password spraying without letting anyone lock a real user out. Too many attempts at once are refused outright. Failed logins go to the journal in a fixed format, so fail2ban can block an address at the firewall on top. Passwords are stored as PBKDF2 hashes, and single sign-on or a security key replaces them altogether if you like.

What a break-in would actually get

Suppose someone gets past all that, finds a hole in Islandr's web layer and runs code in it. They are then the user islandr, which has no password and no login shell: they cannot sign in to the hub, only act through the hole they found. Through it they can read Islandr's database — users, password hashes, public keys; device private keys only if you chose to keep them — and change what Islandr controls: its firewall table and the peers on wg0. That includes adding a peer of their own and a rule that lets it in. In other words, they control the VPN's access rules.

They cannot install software, write to /etc, read other users' files or open a root shell. The damage stays inside the job Islandr has. That is the honest security level: a compromised Islandr is a compromised VPN, not a compromised server.

Docker exists, and comes second

There is a container image for amd64 and arm64. It does not get the privileges people usually hand a VPN container: no --cap-add NET_ADMIN, no host network, no --privileged. A container with those rights can change the host's network in any way it likes, which is the opposite of what the section above is about.

Instead, a small helper runs on the host: islandr-proxy, one binary started by systemd on a Unix socket only Islandr can reach. It accepts five operations — check and load the ruleset, set, remove and read peers on wg0 — validates every argument and has no shell. The container mounts that socket and nothing else. Without it, the container still starts, with the full interface and enforcement switched off, which is handy for trying Islandr out.

native installcontainerislandr processown user · no shell · not rootcontainerno NET_ADMIN · no host networksudo: 5 exact commandsUnix socketnft and wgthe only privileged callsislandr-proxy on the host5 operations · arguments checkedKernel: table inet islandr and wg0the rest of the host’s firewall stays yours
Neither the process nor the container holds root. Both reach the kernel through a short, fixed list of operations.

Docker comes second because it adds a moving part — two pieces to install and keep in step instead of one — and because the native binary is what every release is tested on. If the host already runs containers, the image is a sound choice; on a fresh machine, the binary is simpler.

Quiet by default

Which device connects when, from where and for how long is exactly the kind of information that should not leave the hub. So Islandr makes no outbound call you did not ask for. There is no telemetry. The update check runs only when an admin clicks the button. The map's outlines and the fonts ship with the binary. Address lookup for sites is off until you enter a geocoding server of your own choice, and Gravatar is off until you switch it on.

What does reach out is what you configure: your identity provider at sign-in — Microsoft 365 or Google, including the profile photo — a Google Workspace import, Let's Encrypt for the certificate, your webhooks, your backup bucket, and the upstream DNS servers when the built-in resolver forwards a query. Every one of them is a decision you make, and each can be left off. That is what lets Islandr run where the hub has no other way out than the tunnels it serves.

What these choices cost