Corporate VPN in Estonia: a gateway in Tallinn for a company without a shared office
An Estonian server as a corporate VPN gateway suits companies with an office in Tallinn or Tartu and teams with ties to Finland and Latvia. There is also a case that is specific to Estonia: firms registered through e-Residency. Such a company often has no office at all, its people live in different countries, and the gateway in Tallinn becomes the office everyone "comes in" to work. Below is what to expect from latency, how to build a network for a distributed team, how to sign in with an Estonian ID card, and what the local rules say.
Tallinn next to Helsinki and Riga
Estonian data centres are mostly in Tallinn. From Helsinki the gateway is a few milliseconds away, from Tartu and Riga 5 to 10 ms, and from Stockholm 10 to 15 ms. For a team spread across Europe, Tallinn works as well: Germany and the Netherlands are 25 to 40 ms away, London 35 to 45 ms and Spain around 50 to 60 ms. From New York it is roughly 105 to 115 ms. That is enough for a remote desktop and an accounting system from anywhere in Europe, and workable from the US East Coast. The locations are covered in more detail on VPS in Estonia.
A company without an office: the gateway is the office
When a firm has no shared building, it has no office network to connect to either. The gateway and the servers behind it take that role: the accounting system, shared files, the wiki, the code repository. The network of such a company is simpler than a usual one: there are no routers, only staff laptops.
- Keep the systems behind the gateway. Accounting, files and the wiki go on servers that are reachable only through the tunnel. Then they are not visible from the internet, and scanners cannot get to them.
- Everyone gets their own key and their own permissions. An outsourced bookkeeper needs only the accounting system, a developer needs the repository and the test server. Allow only the routes that are actually needed on the gateway.
- Only company servers go through the tunnel. Video calls and ordinary browsing should go directly from each person's connection, otherwise an employee in Lisbon will push every video through Tallinn.
For a network like this, WireGuard on the laptops is almost always enough; server requirements are on VPS for WireGuard. Up to 20 people will be fine with 1 core and 1 GB of memory; for larger teams, or for OpenVPN with a second factor, take 2 cores and 2 GB. The choice of plans in Estonia is small, and some of them come without a dedicated IPv4. A gateway needs one, otherwise staff in hotels and on mobile data will not be able to connect.
Signing in with an ID card
The Estonian ID card and the e-Residency card both carry a certificate for signing in to systems. You can use it for a corporate VPN too: OpenVPN and IKEv2 can authenticate a user by a smart card certificate through the standard PKCS#11 interface. The key cannot be copied off the laptop, because it stays in the card's chip, and signing in also requires the card's PIN. That is a real second factor without a separate app.
There are limits as well. You need a card reader, and this kind of sign-in is harder to set up than WireGuard. Staff without an Estonian card will need ordinary keys plus a code from an authenticator app. And the certificate on the card does not replace your own access list: when someone leaves the company their card keeps working, so remove them from the gateway's list of allowed users the same day.
Estonian rules
Personal data in Estonia is governed by GDPR and the Estonian Personal Data Protection Act, and the supervisory authority is the Data Protection Inspectorate (AKI). You sign a data processing agreement with the hosting provider. The connection log is personal data too, so describe in your policy what is recorded, who may look at it and how long it is kept, for example 90 days. Companies in NIS2 sectors also fall under the Cybersecurity Act and report serious incidents to the Information System Authority (RIA).
For an e-Residency company the log is especially useful. The staff are in different countries and there is no shared office, so when a break-in is suspected, the log is the only place that shows who signed in and from where.
Backup
If the gateway is the office, its outage stops the whole company. Keep a backup gateway in a neighbouring country, for example in Finland or Latvia, with the same access permissions. Store backups of the systems behind the gateway there as well, not on the main server. Administrators sign in with SSH keys and a second factor, and updates go in as soon as they are released.