Corporate VPN in Poland: a gateway for a Warsaw office and the rules on monitoring staff
A Polish server for a corporate VPN is the choice for companies with an office, a development team, outsourced accounting or a warehouse in Poland. Warsaw also works well as a shared endpoint for staff across Central Europe: Czechia, Slovakia, eastern Germany. Below are the pitfalls of a Polish gateway: office routers, the Labour Code and plan specs.
Why Warsaw
Most Polish data centres are in Warsaw, with sites in Krakow, Katowice and Poznan as well. Staff anywhere in Poland get 5 to 15 ms to a Warsaw gateway, and from Prague and Berlin it is about 15 to 25 ms. From Frankfurt it is usually 20 to 25 ms and from London 30 to 40 ms. So a Polish gateway suits companies whose team is split between Poland and Western Europe: both halves work with accounting and files without a noticeable difference. If the company has offices in both Warsaw and Krakow, linking them through a shared gateway is easier than building a direct tunnel: one of the offices may not have a fixed address. More about the locations on VPS in Poland and VPS in Warsaw.
The office router: often a MikroTik
MikroTik routers are very common in small Polish offices. Since RouterOS 7 they support WireGuard, and IPsec has always been there. That means the tunnel between the office and the gateway is configured right on the router. If the office is on RouterOS 6, upgrade it to version 7 first: there is no WireGuard on the 6 branch, and old firmware on an internet-facing device is a risk in itself. How to build the network on MikroTik is covered on VPS for MikroTik.
For remote staff laptops WireGuard is the simplest. If people should sign in with work accounts and a second factor, take OpenVPN or IKEv2 with RADIUS authentication, where it is easy to add a one-time code from an app. Server requirements for OpenVPN are on VPS for OpenVPN.
Connection logs and the Polish Labour Code
A connection log is how you find out who was on the network and when after an incident. In Poland it matters how you set it up. The Labour Code allows the employer to monitor work email and use other forms of employee monitoring, but with conditions: the purpose, scope and method of monitoring are written into the work regulations, a collective agreement or a notice, and staff are informed at least two weeks before it starts. A VPN log with the username, time and address is a modest form of monitoring, but it is worth describing it in the remote work rules in advance. Then nobody can dispute that the data was collected lawfully when an incident is investigated.
In Polish IT many specialists work not on an employment contract but as self-employed contractors on a B2B agreement. The Labour Code's monitoring rules do not apply to them the way they do to employees, but GDPR does. Give a contractor a separate key in the corporate VPN with access only to the servers they need and a validity period tied to the contract: when the contract ends, the key stops working, even if someone forgot about it.
Under GDPR you sign a data processing agreement with the hosting provider; in Poland the regulator is UODO. Keep the log separately from the gateway and no longer than your rules state, for example 90 days.
How much CPU, memory and bandwidth
- Up to 15 to 20 employees need 1 core and 1 GB of memory on WireGuard.
- 30 to 80 employees, or OpenVPN with logging and a second factor, need 2 cores and 2 GB. OpenVPN encrypts in a single thread, so core clock speed matters more to it.
- A 1 Gbit/s port is needed if backups or large files go through the gateway. Polish plans often come with unmetered traffic, but on cheap plans the port is sometimes shared, and daytime speed is lower than advertised.
- A dedicated IPv4 is a must: the router and the staff need a fixed address.
Backup and staff leaving
Keep the fallback gateway in another country, for example in Germany: latency from Warsaw is low, and an outage at a Polish data centre will not affect it. On a MikroTik you can configure both tunnels and fail over based on a reachability check. When an employee leaves, their key and account are removed on both gateways the same day. Also check that the backup gateway lets administrators in only with SSH keys: it gets configured less often, and mistakes on it live longer. It helps to keep the list of issued keys next to the staff list and compare them once a month.