Corporate VPN in Sweden: a gateway for a Nordic office and remote staff
A Swedish server as a corporate VPN gateway suits a company with an office or a team in Sweden, as well as one whose staff are spread across Northern Europe: Norway, Denmark, Finland. Stockholm is well connected to all its neighbours, so one gateway covers the whole region. What is specific to Sweden lies elsewhere: people here do a lot of work from home on fast fibre, and almost any change at work is discussed with the trade union. Both facts shape how the gateway should be built.
Stockholm as a shared hub for the Nordics
Most Swedish data centres are in and around Stockholm, with some sites in the north of the country where electricity is cheaper. Staff in Gothenburg and Malmö see about 5 to 10 ms to a Stockholm gateway, Oslo and Copenhagen come in at 10 to 15 ms, and Helsinki at under 10 ms. From Frankfurt it is usually 20 to 25 ms to Stockholm, from London 30 to 35 ms and from New York around 90 to 100 ms, so colleagues in Western Europe can work through the Swedish gateway comfortably as well. The northern sites add a few milliseconds, which nobody will notice in email or accounting. The locations are covered in more detail on VPS in Sweden and VPS in Stockholm.
Remote work on home fibre: the gateway is the bottleneck
Most homes in Sweden have fibre, often symmetric, at hundreds of megabits or a gigabit. An employee at home uploads a video or a project build to the office share as fast as they download it. So the limit will not be people's home connections but the gateway's port and CPU. Five people copying large files at the same time can easily fill a 100 Mbit/s port on their own, and for everyone else the accounting system or the CRM grinds to a halt.
Two things help. The first is to route only the office servers' addresses through the tunnel and leave video calls and ordinary browsing outside it. In WireGuard that is one line listing the office subnets; in OpenVPN it is a list of routes. The second is to take a plan with a gigabit port and test the speed honestly on a working day, not at the weekend. If the plan gives you a 100 Mbit/s port, it will not be enough for a team of more than 10 to 15 people who work with files.
- Up to 20 people on WireGuard will be fine with 1 core and 1 GB of memory. Plans with 256 to 512 MB are best avoided for a gateway: after system updates and logs there is hardly any room left.
- 20 to 60 people, or OpenVPN with a second factor, call for 2 cores and 2 GB. Encryption speed grows with core clock speed, not with the number of people.
- The traffic allowance matters if offices exchange backups. With unmetered traffic you need not think about it; with an allowance of 1 to 2 TB, nightly backups will eat it within a week.
The union and the Co-determination Act (MBL)
Most Swedish employers are covered by collective agreements. The Employment (Co-determination in the Workplace) Act (MBL, section 11) requires the employer to start negotiations with the union on its own initiative before making an important change at work. Moving the whole company onto a VPN with a connection log and a mandatory second factor may count as such a change, especially if people used to reach their email without any tunnel. It is easier to invite the union early and show exactly what goes into the log, who looks at it and how long it is kept, for example 90 days. If you put the conversation off until a complaint arrives, you will have to get the same system approved after the fact.
Personal data is supervised by IMY, and GDPR applies. You sign a data processing agreement with the hosting provider. Keep the log itself separate from the gateway: if the gateway is compromised, you will need the log to understand what happened.
One key per device, not per person
An employee usually has two or three devices: a work laptop, a phone, sometimes a home computer. Issue a separate key for each. If someone loses their phone on a commuter train, you disable only the phone, the laptop keeps working, and nobody has to set everything up again. In the key list, record the employee's name and the device, and the connection log immediately shows what they connected from.
A second factor is needed at least for administrator logins and for OpenVPN or IKEv2 with work accounts; server requirements are on VPS for OpenVPN. When a person leaves the company, remove all their keys the same day, and once a month compare the key list against the staff list.
A backup gateway next door
Keep the second gateway in a neighbouring country, for example in Finland. Latency between Stockholm and Helsinki is low, and staff will barely notice the switch. Put both addresses into the office router and laptop configurations in advance, not on the day of the outage. Install updates on both servers as soon as they come out: the gateway is visible from the internet, and other people's scanners visit it every day.