Przejdź do treści głównej

DATPOL VPN — first connection and TOTP codes

Czytaj po polsku

Who this is for: employees, IT staff and service engineers granted personal DATPOL VPN access. This guide covers WireGuard with additional TOTP verification. End users do not need an administrator-panel account.

Quick start — six steps

  1. Obtain a WireGuard profile for your device and the separate personal TOTP enrolment details from your administrator. Confirm the authorised systems and access expiry.
  2. Install WireGuard from its official download page for your operating system. Your IT team may need to install it on a managed computer.
  3. Import the .conf file into WireGuard or scan the profile QR code in WireGuard. Each computer and phone should have its own profile.
  4. Add the separate TOTP QR code supplied by the administrator to your organisation-approved authenticator app.
  5. Activate the WireGuard tunnel. Open https://vpn.datpol.com in your browser. Type the address manually if it does not open automatically.
  6. Enter the current six-digit TOTP code and select Autoryzuj dostęp / Authorise access. Then open the authorised service using the address supplied by your administrator.

Two different QR codes — use the correct app

What you receiveWhere to import itPurpose
WireGuard .conf file or profile QRWireGuard appIdentifies a particular device and establishes the encrypted tunnel.
TOTP enrolment QRAuthenticator appProduces changing six-digit codes to authorise the person's access.

Both items are confidential. Do not publish them, include their screenshots in general support tickets or upload them to online QR decoders. The portal asks for six digits, not your email password or an administrator password.

Windows and macOS — import a file

  1. Open WireGuard and choose the option to add/import a tunnel from a file. Button names vary by operating system and app language.
  2. Select the supplied .conf file. Use a recognisable name such as “DATPOL — work laptop”. Do not modify the keys, addresses, DNS settings or routes.
  3. Activate the profile. Follow your organisation's policy when the operating system requests permission to configure the VPN.
  4. Open the VPN portal, enter your current TOTP code and then open your authorised service.

Android, iPhone and iPad — import a QR code

  1. In WireGuard, choose to add a tunnel and scan a QR code. Scan the WireGuard profile QR, supplied securely, for example from the administrator's computer screen.
  2. If the code is on the same phone, request the .conf file through an approved secure channel and use file import instead. Do not publish the code or send it to an external decoding service.
  3. Approve the operating system's VPN configuration and activate the profile. Open vpn.datpol.com in your phone's browser and enter the TOTP code.
  4. Open the authorised service or app. Switching between Wi-Fi and mobile data may require checking the connection and authorising access again.

What does an active tunnel mean?

WireGuard identifies the device; TOTP verifies the person's access. An “active” label, VPN icon or recent handshake does not by itself authorise access to business systems. After verification, only assigned addresses, subnets, protocols and ports are available. This is not unrestricted infrastructure access or an exit-node service for all internet traffic.

For example, Remote Desktop access does not necessarily permit the web interface or ping on the same server. A failed ping alone does not establish a VPN fault.

When do I need another code?

An authenticator code normally changes every 30 seconds. You do not need to sign in every 30 seconds. The current DATPOL authorisation session lasts at most one hour and may end after 15 minutes of inactivity. Access may end sooner when its assigned expiry is reached or an administrator revokes it.

After the session ends, reopen the portal and use a fresh code. An already accepted code cannot be reused for another sign-in. Enable automatic date, time and time-zone settings on the authenticator device.

How to finish work safely

  1. Open VPN status and select Zakończ dostęp / Sign out.
  2. Deactivate the WireGuard tunnel.
  3. Closing the browser tab, or briefly toggling the tunnel off and on, does not reliably terminate an existing MFA session.

Your administrator can end a current session or revoke a device's access. Ending a session permits later reauthentication if the profile's authorisation remains valid.

Help and sources

Contact your IT administrator or DATPOL24. Provide the profile name, operating system, incident time and error text, without .conf files, QR codes, keys or TOTP codes.

Official installers: WireGuard — Installation. The access, session and TOTP rules above describe the DATPOL deployment, not the default capabilities of WireGuard itself. Guide updated: 27 October 2026.

In this guide