Emergency VPN Configuration
With the Emergency VPN your engineers reach the machines restored in the cloud even when the site is unreachable. Setting the gateway on the connector, VPN users added by hand or synced from your Active Directory, downloading the configurations.
When the customer site is offline or compromised, the cloud restore cannot go through the connector. In that case you use the Emergency VPN, an encrypted tunnel that lets your engineers reach the restored machines from any network. The Emergency VPN also gives the restored machines an Internet exit with a public IP.
Anteprima video temporaneamente non disponibile.
Apri il file direttamente →1. Set the gateway
- Open Connectors from the menu and select the connector.
- In the page header, in the Emergency VPN panel, click the pencil icon.
- In the Gateway/CIDR field enter the address of the router the protected devices currently use, for example
192.168.1.1/24. - Confirm.
The panel shows the gateway next to the VPN status, which stays Not active until the VPN is activated.
2. Prepare the users
Access is managed in the VPN & Access card, further down the same page.
To add a user by hand, click Add, enter the username and confirm. Repeat for every person who will connect.
Alternatively you can import the users from the customer Active Directory with the LDAP sync, described in the next section.
Until the VPN is used, the users are only a list. The accounts are created on the VPN machine when you start the DR with the Emergency VPN. From that moment you download the configurations from the same card, one per user or all at once with Download all users conf. The configuration file is ready to use and the client connects from any network, without opening anything on the customer firewall.
3. LDAP Sync
If the users who need access are already in the customer domain, you can import them from there instead of entering them by hand. The LDAP Sync section is at the bottom of the VPN & Access card.
- Click Configure LDAP.
- Fill in IP/Domain and Port, usually 389.
- Enter the bind account credentials in Username and Password. A read-only account is enough.
- In Base DN enter the directory branch where the search starts, for example
DC=example,DC=local. - Confirm.
The Console tests the connection straight away. If the bind fails, if the search does not succeed or if the branch is empty, the error appears under the form and the configuration is not saved. If the test succeeds, the configuration is saved and the first sync starts automatically.
From then on the section shows Your local LDAP with an Online or Offline state and the Last sync date. The sync icon next to the title starts a new sync manually. Change LDAP configuration reopens the form.
Which users are imported
The filter is fixed and cannot be configured. From the branch you entered, Sefthy imports the person type user objects and uses the sAMAccountName as the VPN username. The three system accounts Administrator, Guest and krbtgt are excluded.
In the card table, the Source column shows Local / LDAP User or Manual Entry for each user. Users imported from the domain have no delete icon, because they are managed by your Active Directory.
What happens to removed users
At every sync Sefthy compares the domain list with its own. Users who no longer appear under the branch you entered are removed from the list. If the VPN machine is already running, their access is deleted from the VPN machine as well.
After the first one, syncs do not start automatically. After a change in the domain, start a sync manually with the icon next to the title. An account that is only disabled still appears in the list, because the filter looks at user objects and not at their state. To revoke its VPN access, remove the account from the branch you entered.
Downloading the VPN configurations
LDAP users also remain only a list until the VPN is used. With the VPN machine running, Download VPN Config on each row offers two formats. For Windows, a zip containing the client and the configuration file. For Linux and macOS, the .conf file alone, to be used with the WireGuard client.
Connectors with mixed DRs
One connector can serve several DRs on different plans. In the list of associated DRs, those without the Sefthy PRO plan show a warning triangle, because their restore cannot use the Emergency VPN.