Przejdź do treści głównej

DATPOL VPN — policy tests, suspension and diagnostics

Czytaj po polsku

For authorised administrators. The end-user portal does not grant management rights. Changes require a current administrator login, administrator TOTP confirmation, a reason and the current object revision.

Invitations and device management

Enrol a new device using a single-use invitation. The owner assigns scopes and access expiry; the recipient cannot expand them. Revoking an unused link prevents enrolment. Once used, manage the device itself: suspend, resume or revoke access. Invitation expiry and profile expiry are separate.

Inspect access to an IP and port

  1. Open Policy tests, choose Check a profile and select a device profile.
  2. Enter one private IPv4 address and select TCP, UDP or ICMP. Supply a port for TCP/UDP or 0 for ICMP. The technical VPN pool is outside this inspector.
  3. Select Check rules. The result shows allow/deny from stored scopes, the matching rules and profile eligibility.

The inspector does not scan or connect to the destination. It does not confirm an MFA session, destination-server health or every deployed router rule. Permissions are a union: a broad scope can permit traffic absent from a narrower scope.

Save a regression-protection test

  1. Select Save as a regression test in the inspector.
  2. Provide a name, an expected allow/deny result and a reason, then save.
  3. Run tests compares expectations to current rules without sending traffic to customer systems.
  4. Profile replacement reruns its tests server-side. A failed assertion stops the change before router mutation. For example, an expectation that SSH must remain denied blocks a broader scope granting TCP/22.

Tests describe rules, not whether a profile is currently enabled. A positive expectation does not prevent suspension or revocation. To deliberately change a protected permission, update or delete the relevant test with a reason first. Do not remove all tests merely to bypass a failure.

Suspend and resume a device

  1. Select Suspend on an active profile and enter a reason.
  2. Wait for router confirmation. Validity, the concentrator's device peer, session, firewall rules and tracked connections are blocked. The profile record and expiry remain.
  3. Resume applies to a suspended profile. The administrator confirms the action; the user keeps their .conf file and personal TOTP enrolment.
  4. Resumption neither adds scopes nor extends expiry. The person must remain enabled and the original expiry must be in the future. Revoked or expired profiles require a new grant.
  5. After resumption the user deactivates and reactivates the tunnel in WireGuard, opens the portal and authorises access with a fresh TOTP code. The existing configuration file is retained. The previous session is not restored.

For a lost or exposed key, revoke access and issue a replacement rather than merely suspending it. Unconfirmed does not mean successful. An interrupted resumption is reconciled to a blocked state; uncertain operations are not automatically resumed.

Support diagnostics

  1. Open Diagnostics and refresh the reading.
  2. Check its timestamp. Readings older than two minutes are unconfirmed.
  3. Download the JSON report. It contains aggregates, selected health metrics and release identifiers, without keys, codes, contact details or customer-system addresses.

The report does not replace a backup restore exercise, verification of all deployed router permissions or a destination-application availability test. Versioned access groups remain templates; editing one does not automatically rewrite existing profiles.

In this guide — current VPN instructions

Router names and automatic address catalogue

In the scope form, select a router by its system identity observed by MMG. Its IP address is shown alongside the name. Details include the MMG label and the last identity observation time. The catalogue joins MMG device addresses with networks configured on CHR-PL rather than relying only on peer comments.

Renames appear after the next MMG observation of that router. The identity catalogue synchronises every minute; the open panel refreshes every minute and when returning to the tab. A new router appears once its data is added to MMG and its networks/peer are added to CHR-PL. Ambiguous identity matches are not guessed.

Refreshing preserves the selected router and checked subnets. A new entry, rename or addressing change does not grant access or change existing scopes and profiles. The owner still selects and approves each user’s permitted addresses.

VPN access centre — new administrator workspace

Open the DATPOL VPN dashboard. The sidebar opens People, Devices, Access and policies, Networks and routes, Sessions, Events and Settings. Forms open in a side drawer; use Close or Escape. On a phone, open navigation with the top-left menu button. The language switch changes the interface language.

Grant access — wizard

  1. Select an existing person or enter their name, organisation, email and optional phone.
  2. The wizard issues an invitation for one new device. To replace an existing profile, use Devices → actions → Replace profile.
  3. Select saved resources, addresses and services. Permissions are a union; a wider scope can permit additional traffic.
  4. Choose one hour, one day, 7 or 30 days, or a custom expiry up to one year. Wizard links last no more than 24 hours and never beyond access expiry.
  5. Review the summary, enter a reason and confirm a current administrator TOTP code when required.
  6. Copy the link and send it to the intended person. The recipient verifies email, sets up or confirms TOTP, names their device and saves the configuration or QR. Issuing a link does not activate access. The WireGuard tunnel still requires TOTP authorisation at vpn.datpol.com.

Dashboard, sessions and configuration consistency

Statistics come from stored accounts and current observations. An empty installation shows zero, without example people. Sessions distinguish active MFA, handshake, traffic and an available endpoint. Missing fresh readings are marked unconfirmed. The dashboard diagram shows resource assignment rather than a measured packet path.

Settings → Security status compares managed WG10 peers and per-profile rules against stored permissions. The existing monitor checks periodically, with a manual refresh option. Differences appear in the panel and are reported to Graylog; they are not overwritten automatically. This is not an audit of the entire firewall, NAT or return routes. Existing Zabbix monitoring remains active; this release does not add a separate Zabbix drift trigger.

Networks, reservations and diagnostics

Networks and routes shows the actual CHR/MMG catalogue and active CHR IPv4 routes. A reservation is for planning: it checks known addressing and this panel’s reservations, but changes neither routers nor an external IPAM. Confirm the subnet in the authoritative register before deployment. Existing customer 192.168.x.0/24 networks are not renumbered. Future networks can also use the 172.16.0.0/12 pool with a chosen prefix.

Access and policies → Check access analyses stored ACLs, current profile rules, the TOTP session and CHR routes. It does not verify the return route, customer local router or connectivity from the user’s device.

A browser cannot read the computer’s routing table. The optional Windows script reads local addresses and active routes into JSON; it changes nothing and uploads nothing. The user reviews the report and knowingly shares it with the administrator. Select a profile and target in the inspector, paste the JSON, confirm consent and enter a reason. The panel retains the derived analysis for 30 days, without the raw report. Without data, the result is “no data”, not “no conflict”. On conflict, use another personal connection such as LTE or contact the administrator; do not change DATPOL customer addressing.

Release boundaries

This release does not implement personal IKEv2/EAP-TLS/PKI, RADIUS CoA, an automatic endpoint agent, delegated organisation administrators, automatic failover or a full post-enrolment self-service portal. WireGuard uses keys rather than X.509 certificates. Existing global IPsec/RADIUS configuration is unchanged. Further stages need separate design and testing.

Access to three routers — search and append

  1. In Access and policies, add a scope such as “Three-router access”.
  2. Search for the first router by name, site or IP. Polish accents are optional.
  3. Select only the router address, selected subnets or all its advertised networks. Select Add addresses to scope.
  4. Search for the second and third routers and use the same button each time. Addresses are appended; existing entries remain and duplicates are skipped.
  5. Save the scope and select it in the user invitation. Saving a scope alone does not grant access.

For different ports or protocols, create separate scopes and select all required scopes in the invitation. Each scope supports up to64 addresses/subnets. Specific-IP mode allows manual additions without erasing earlier entries.

Routers, LAN networks and editing scopes

The site picker lists only routers identified from MMG/RouterOS metadata. Type a name or IP and click a visible result below the search field. Phones, iPads, servers, application gateways and switches are excluded. Unconfirmed devices are not guessed to be routers.

Router LAN networks adds the site subnets without WireGuard tunnel host addresses. Select access to the router itself separately. Its tunnel address is not required solely for reaching LAN devices.

Select Edit beside a scope, change its addresses/services, enter a reason and save. Unassigned scopes are updated in place. If already referenced by a profile, invitation or group, saving creates a new version; existing assignments retain the previous permissions. Choose the current version for new invitations. A reason and current-revision check are required.

Router search and scope editing with three LAN networks
Example data: click a search result, then add LAN networks to the list.