# DATPOL VPN — first connection and TOTP codes

<div id="bkmrk-windows%3A-vpn-from-a-">## Windows: VPN from a standard account

**Your computer administrator helps once.** They install WireGuard, import your file and enable operator mode. Afterwards, use your normal Windows account.

1. After preparation, save your work, sign out of Windows and sign back in.
2. Open WireGuard, select your tunnel and activate it.
3. Open [vpn.datpol.com](https://vpn.datpol.com) and enter your six-digit TOTP when the portal requires it.
4. After work, end access on the portal and deactivate the WireGuard tunnel.

<figure>[![Daily VPN connection diagram](https://wiki.datpol.com/uploads/images/gallery/2026-10/vpn-windows-operator-steps-en-20261029.png)](https://wiki.datpol.com/uploads/images/gallery/2026-10/vpn-windows-operator-steps-en-20261029.png)<figcaption>Instructional diagram, not a screenshot of the WireGuard interface.</figcaption></figure>Import and editing are intentionally unavailable in this mode. Your administrator imports replacement files. Never share your authenticator QR or TOTP seed with them. [Administrator preparation instructions](https://wiki.datpol.com/books/datpol-vpn-user-guide-en-gb/page/datpol-vpn-policy-tests-suspension-and-diagnostics#bkmrk-windows%3A-vpn-from-a--1).

</div>**VPN session: up to 8 hours; idle timeout: 1 hour.** After the session ends, enter a fresh TOTP at https://vpn.datpol.com. These limits are separate from the access expiry date. Briefly toggling the tunnel does not necessarily end the current MFA session.

[Polski](https://wiki.datpol.com/books/datpol-vpn-instrukcja-uzytkownika/page/datpol-vpn-pierwsze-polaczenie-i-kody-totp)

No configuration yet? Start with [your invitation and device enrolment](https://wiki.datpol.com/books/datpol-vpn-user-guide-en-gb/page/datpol-vpn-invitations-and-self-service-device-enrolment). If your device awaits approval, wait for your administrator.

## 1. Import the configuration

In **WireGuard**, add a tunnel from the downloaded .conf file or scan its WireGuard QR. Do this once per device.

<figure id="bkmrk-download-the-configu">[![Download the configuration or use its WireGuard QR during enrolment.](https://wiki.datpol.com/uploads/images/gallery/2026-10/datpol-vpn-v2-20261028-en-config.png)](https://wiki.datpol.com/uploads/images/gallery/2026-10/datpol-vpn-v2-20261028-en-config.png)<figcaption>Download the configuration or use its WireGuard QR during enrolment.</figcaption></figure>## 2. Activate WireGuard

Turn on your tunnel. The tunnel alone does not provide access to resources.

## 3. Authorise with your code

Open [**vpn.datpol.com**](https://vpn.datpol.com). Enter a fresh **6-digit** TOTP and confirm. The browser may need to be opened manually.

<figure id="bkmrk-enter-your-six-digit">[![Enter your six-digit authenticator code here.](https://wiki.datpol.com/uploads/images/gallery/2026-10/datpol-vpn-user-guide-20261028-portal-login.png)](https://wiki.datpol.com/uploads/images/gallery/2026-10/datpol-vpn-user-guide-20261028-portal-login.png)<figcaption>Enter your six-digit authenticator code here.</figcaption></figure>## 4. End access after work

Select **End access** on the portal and turn off the WireGuard tunnel. A new TOTP is required after session expiry.

<figure id="bkmrk-authorised-session-a">[![Authorised session and the control for ending access.](https://wiki.datpol.com/uploads/images/gallery/2026-10/datpol-vpn-user-guide-20261028-portal-status.png)](https://wiki.datpol.com/uploads/images/gallery/2026-10/datpol-vpn-user-guide-20261028-portal-status.png)<figcaption>Authorised session and the control for ending access.</figcaption></figure>## Optional: My account

If self-service is enabled, use [My account](https://vpn-join.datpol.com/account) to enrol another personal device, inspect sessions or revoke a lost device. You cannot expand your assigned addresses. Email codes have **8 digits**; TOTP codes have **6 digits**.

<figure id="bkmrk-my-account-%E2%80%94-example">[![My account — example data, personal devices only.](https://wiki.datpol.com/uploads/images/gallery/2026-10/datpol-vpn-enterprise-20261028-en-account.png)](https://wiki.datpol.com/uploads/images/gallery/2026-10/datpol-vpn-enterprise-20261028-en-account.png)<figcaption>My account — example data, personal devices only.</figcaption></figure>Signing out of My account does not end VPN access. Use **End MFA** or **End access**. See [troubleshooting](https://wiki.datpol.com/books/datpol-vpn-user-guide-en-gb/page/datpol-vpn-access-troubleshooting-and-security).