
Work in progress. This article tells the story of a project that has only just begun, PHOTO19: I'll update it as the building site moves along.
Today a package arrived for PHOTO19. There was no computer inside: there was a program to install, a configuration file and a sheet of paper with a username and password. It's the kit for a VPN, the service entrance through which a technician gets into a company's network without having to get in the car.
Remote support used to mean phone calls along the lines of “now click on the blue icon”. “Which one?” “The blue one.” “They're all blue.” A VPN shortens the conversation by forty minutes and saves at least one friendship.
Why opening a port isn't enough
The classic shortcut is to make the server's remote desktop, or the NAS management page, reachable from the Internet. It works brilliantly, for everyone: including the automated programs that spend all day trying passwords on every address on the planet. Leaving remote desktop exposed is like leaving your front door open with a sign saying “comfy sofa inside”.
With a VPN, on the other hand, from the outside you see a single door, guarded by the firewall. Whoever walks through it with the right credentials finds themselves inside the network as if they were in the office. Everyone else finds a wall, and walls don't answer password attempts.
The profile is a key, not an attachment
The configuration file contains the company's address, the certificates and the rules for getting in. In practice it's a copy of the key to the front gate.
- It doesn't get passed round by email to whoever “might need it one day”. Keys in circulation multiply like phone chargers in drawers, and nobody knows whose they are any more.
- It's kept together with the passwords, not on the desktop next to the holiday photos.
- One user per person: if three people log in under the same name, the access log turns into a whodunnit with no culprit.
The questions to ask the firewall
When I set up access like this I always check a few things, with the diligence of someone inspecting a starship before take-off:
- is the encryption up to date, or is it still the one chosen at installation, ten years ago?
- can you add the second factor, the code on the phone?
- does the technician see only the computers they have to look after, or the whole network, including the camera on the coffee machine?
- when the job's done, is the user deactivated, or does it stay there for ever, like a guest who won't leave?
The service entrance rule
A well-made VPN is boring: you connect, you work, you disconnect. The client doesn't notice a thing, except that the printer now works. My uncle maintains that the best security is not having a door at all. He bricked up the cellar door in 1987. The wine is still in there, safe. Every now and then he thinks about it too.