Reach a server
This guide makes one server, for example a file server or a Linux host, reachable for a group of users. The server runs the XplicitTrust agent in Asset mode, you describe what it offers as a Service, and a Policy grants a user group access to it.
In short
Install the agent on the server in Asset mode, define the service (for example SSH), create a policy with your user group as source and the server and service as destination. Users then reach it by its DNS name or tunnel IP.
Before you start
- A tenant with an identity provider and at least one user group. Groups are imported in the policy form; see Import user groups.
- Administrator rights in the Admin Console.
- A client for the person who tests: the XplicitTrust app on their device, in Client mode. See Install.
- Background: Clients and Assets and Policies.
1. Install the agent on the server in Asset mode
Pick the page for the server's operating system and follow it up to registration:
The Assets page of the Admin Console shows the same instructions: Create → Asset. See Create an Asset.
The server appears in the Assets list. Wait until its status reads Online.
2. Define the service
A Service names the protocol and port people use on the server, for example TCP 22 for SSH. Predefined services such as SSH exist already; skip this step if one fits.
- In the side menu, open Definitions → Services and choose Create.
- Enter a Definition Name, add a row with the
+in the table header, choose the Protocol and enter the Port / Port Range, then confirm the row with the check mark. - Choose Apply. The console shows Service Definition created.
The fields are described in Definitions: Services.
3. Offer the service on the server
- Open Assets, select the server and choose Edit.
- On the Access tab, select the service under Services. A server without a selected service has the predefined All service, which grants every port.
- Choose Apply.
See the Access tab of the Asset form.
4. Create a policy for a user group
- Open Policies and choose Create.
- On the General tab, enter a Name of at least 3 characters.
- On the Access tab, select the user group under Sources. Under Destinations, tick the server and the service.
- Choose Apply. The console shows Policy created successfully.
Leave the Conditions tab empty for now: add conditions such as a time window or an operating system later, see Conditions. All fields are in Create a policy.
Verify
- On a device of a member of the user group, open the app and turn the switch on. The status reads Connected. See Home.
- In the app, open the list on the right side of the home screen (Available Assets, or My Access) and look for the server. On iOS and Android open My Access or Connections from the menu.
- Connect to the server with its DNS name (shown in the list and under DNS Names in the server's detail panel) or with its tunnel IP (Public & Tunnel IP). For SSH:
ssh user@<DNS name>.
In the Admin Console, the Access Diagnostic checks which sources can reach the server.
If it doesn't work
- The server is not in the list. The user is not in the policy's source group, the policy is disabled, or the server is offline or disabled. Open the policy and check Status, Sources and the service. The insight panel shows which sources meet the conditions.
- The server is listed, but the connection fails. The service on the server must listen on the port and its own firewall must allow it. For Windows Remote Desktop, Remote Desktop must be turned on in Windows.
- The name does not resolve. Use the tunnel IP to tell a DNS problem from an access problem; see DNS.
- The agent does not register or stays offline. See Repair the installation.
Next
- Reach a printer, NAS or camera: devices that cannot run the agent.
- Reach an office network: a whole network behind a gateway.
- Remote support for all laptops and Give a contractor temporary access.
See also
- Concept: Clients and Assets, Policies
- Reference: Assets, Definitions, Policies