Skip to content

Agentless Access: Portals and Applications

Agentless Access lets people open internal applications from any browser, without the XTNA-agent. A portal is one hostname, such as portal.example.com, served by a gateway asset (a Linux asset running the XTNA-agent, or the asset container image). Its applications are what the portal offers under that hostname, each under its own URL path:

  • a web application, forwarded to an internal web server,
  • a remote desktop (RDP), a terminal (SSH) or a remote screen (VNC) on a machine behind the gateway asset, opened in the browser,
  • a terminal on a device that only speaks Telnet, or in a container of a Kubernetes pod.

In short

A portal publishes internal applications under one hostname. The gateway asset terminates HTTPS, checks per application what a visitor must prove (the trust level), and forwards the request together with the visitor's identity. A policy with the portal as its destination grants access.

Do I need a portal?

Yes, when people without the XTNA-agent must reach an application from a browser: an internal web application, a public form next to a protected admin area, or the desktop or terminal of a machine, with no RDP, SSH or VNC program on the device.

Probably not, when everyone who needs the application has the agent and reaches it by address: give the machine, Virtual Asset or subnet a policy instead. A portal still adds a hostname, a certificate and the identity headers; people with the agent reach it through the tunnel and are recognised without logging in again.

Portal Portal

People without the XTNA-agent reach the applications from any browser. People with the agent reach the same hostname through the tunnel and are recognised without logging in again, and an application can be limited to them. The applications themselves only ever talk to the gateway asset, so they can stay on an internal network with no public address of their own.

A portal's list of applications in the browser A portal's list of applications in the browser

A remote desktop opened from the portal, in the browser A remote desktop opened from the portal, in the browser

Supported gateway assets

Portals are served by Linux gateway assets and by the asset container image. Windows, macOS and OpenWrt assets cannot be the gateway asset of a portal yet.

Where to go

You want to Read
Publish an internal web application Publish a web application
Open a Windows desktop in the browser Publish a remote desktop
Open a Linux terminal or a VNC screen in the browser SSH terminal and VNC screen
Open a terminal on a Telnet device or in a Kubernetes pod Telnet and Kubernetes terminals
Look up a field of a portal or of an application Portals in the Admin Console reference
Look up RDP, SSH, VNC, Telnet or Kubernetes options: target identity, SSH certificates, clipboard Remote desktop settings
Limit, end, watch or record sessions Sessions and recording
Write instructions for the people who use a portal Using a portal
Answer a helpdesk ticket Portal messages and troubleshooting
Size the gateway asset Sizing the gateway asset
Send portal events to a SIEM Event reference

How a request is handled

  1. The hostname selects the portal.
  2. The request path selects the application with the longest matching path prefix. /request matches /request and /request/form, not /requests.
  3. The application's Trust level is compared with what the request proves (see below). A request that proves more than the application needs is let through; a request that proves less is sent to log in, or refused.
  4. The request is forwarded to the application's Upstream. Headers added by the gateway asset tell the application who the visitor is.

Trust levels

Levels are ordered from the weakest proof to the strongest. A visitor with a stronger proof satisfies every application below it, so an employee connected through the agent is never asked to log in.

Level What the visitor proves Who the application sees
public Nothing. Nobody. The application does its own checks, if any.
identity A login at your identity provider, with whatever MFA it enforces, by a user a policy grants the portal. A user of your tenant: id, email and name.
tunnel The request arrived through the XTNA-agent from a device a policy grants the portal, with every condition of that policy met. The user, plus the device hostname; for a device without a user, the device.

Allowed user groups on an application narrow the grant further; they never grant on their own. For a login the check happens when the person comes back from the identity provider. A login counts for the application it was started on: a visitor who logged in through an unrestricted application is sent to log in again when entering an application with groups. Through the agent, the groups of the user logged in on the client count, and a device without a logged-in user, such as a server asset, never passes an application with groups.

A login for an identity application uses your tenant's identity provider, the same one your users sign in to the client with. A person who logs into a portal this way becomes a user of your tenant, like a person who signs in to the client, and is counted the same way.

Policies

A portal is granted with a policy whose Destination is the portal. Without one, only the public applications are open. A portal destination needs no service: it always means the gateway asset's listener for that portal, and it follows the portal when you move it to another gateway asset or change its port. What the policy grants depends on how the visitor arrives:

Source of the policy identity applications, from a browser tunnel and identity applications, through the agent
A user group, or All Users The users of the group, after their login The devices those users are logged in on
A machine group, an asset or a client Nobody: a browser login is a person, not a device Those devices, with or without a logged-in user

Conditions work as for any other destination. For a login from a browser, which has no device to check, they mean:

Condition For a login from a browser
Time Applies as for a device.
Site, public IP, location Checked against the address the browser comes from, as the gateway asset sees it, with Not as set in the policy. A portal can be limited to the office, to a country, or to everywhere but a site.
OS Only a device meets it: the policy grants the tunnel applications only, never a login.

Three details about the browser's address:

  • Only a public address says where a browser is. When the gateway asset sees a private one, because the browser is in the gateway asset's own network or a load balancer or NAT in front of it hides the real address, the place is unknown and a policy with a site, public IP or location condition grants no login, also with Not. For browsers in the gateway asset's network, use a policy without such conditions, or the agent.
  • Sites and public IP ranges are IPv4. A browser that arrives over IPv6 meets no site and no public IP condition, also with Not. Location conditions work with both.
  • The login follows the browser. A session that was opened in the office and is then used from another network is checked again there, and ends when the policy does not grant that place.

A person the place keeps out reads "this portal is not open to you from the network or the country you are in now" after signing in; see Messages. Changes to a policy reach the gateway asset within seconds, like any configuration change. The gateway asset's agent needs version 1.140 or later for conditions on the place; with an older one such a policy grants no login, and the Topology Explorer says so on the policy.

Reaching the gateway asset is not reaching the portal. Saving a portal gives the gateway asset a service named web app (tcp/443) (with the portal's port). A policy with the gateway asset and that service as its destination opens the port, which other services on the asset may share, but grants no portal: a device that comes in that way gets a page saying that no policy grants it the portal. Reaching a tunnel application from the public internet shows a page asking to connect with the client.

Policies a portal keeps for its upstreams

These policies grant visitors the portal. The gateway asset itself needs no policy for an upstream on its own network. For an upstream at another site, it does: an application whose upstream is linked to an Asset through the tunnel, or to a Virtual Asset of another gateway asset (see Choosing the upstream), gets a policy from the gateway asset to that target on the applications' ports, created when the portal is saved. The portal keeps it: the Policies page lists it with Kept by the portal ..., it cannot be edited or deleted there, it changes when the applications change, and it is removed with the last application that needs it or with the portal.

Identity headers

Every request forwarded to a web application carries these headers. Whatever a visitor sent under the same names is removed first, so the application can trust them as long as it is reachable only through the gateway asset.

Header Value
X-XT-Auth-Level public, identity or tunnel
X-XT-Identity-Kind user or peer
X-XT-Identity-Id The user id or the machine id
X-XT-Email The user's email (identity and tunnel)
X-XT-Name The user's name
X-XT-Device The device hostname (tunnel only)
X-XT-Session-Id The browser session (identity only)

The standard X-Forwarded-For, X-Forwarded-Host and X-Forwarded-Proto headers are set as well. The Host header is passed through unchanged, so the application does not need to rewrite its redirects.

Certificate and DNS

  • DNS. Point the hostname's public DNS record at the gateway asset's public address. Clients with the agent resolve the hostname to the tunnel address automatically; the public record is for everybody else.
  • Certificate. Automatic obtains a certificate for the hostname from a public certificate authority on the gateway asset and renews it before it expires; it needs the public DNS record and port 443 reachable from the internet. The gateway asset requests it on a schedule, 15 minutes after a failure, never because someone opens the portal, so a missing DNS record does not exhaust Let's Encrypt's limits; Retry now on the portal's detail page asks for an attempt at once. Upload takes a certificate and private key you provide. The key is stored encrypted for the gateway asset: each gateway asset has a key pair of its own, the private key is encrypted with it the moment you save, and only that gateway asset can decrypt it. Neither XplicitTrust's database nor the gateway's configuration contains it readable.

The steps are in Publish a web application; the fields are in Portals.

Managing a portal

Portals are created on the Assets page from the Create menu, and from the Create menu of the topology canvas, where they appear as branches of their gateway asset. A portal is listed under its gateway asset, and its detail page offers Edit, Sign Out Everyone and Delete.

  • Setup checklist. The detail page opens with a checklist of what is needed to serve the portal; see Publish a web application.
  • Sign Out Everyone ends every browser session of the portal. The gateway asset picks the change up within seconds; the next request of every signed-in visitor starts a new login. Use it after an application or group change that must apply to people who are already logged in.

Users and licensing

A person who signs in to a portal from a browser becomes a user of your tenant at the first sign-in, as with the agent, and needs no device.

  • The Activity page lists them in each month they used a portal, as Browser ยท Office portal where a device's name would be.
  • They count as a user for your subscription in each month they used a portal: a monthly invoice includes everyone who was active on a portal during the month it bills, and only that month. A sign-in counts as one hour of activity, a remote desktop, terminal or remote screen in the browser as active until it ends. Someone who also uses the agent counts once.
  • While they are active, the Users Online figure of the Dashboard counts them as online.
  • A sign-in that no policy grants does not count.

Visitors with the agent pass the portal on their device and are counted through it.

Events

Portal logins show up in the tenant's event log and reach your SIEM through the event forwarders configured in the tenant settings, like client logins:

Event Meaning
web_app_login_started A visitor was sent to the identity provider for an application.
web_app_login The visitor came back and was accepted; the event names the user and the application.
web_app_login_denied The identity provider accepted the visitor but the portal refused them, with the reason: no_policy or not_in_group.
web_app_sign_out_all An administrator ended every browser session of the portal.
web_app_desktop_session_started A remote desktop session opened.
web_app_desktop_session_ended A remote desktop session ended, with the reason.

The full list, with the recording and watch events, is in the event reference. Creating, changing and deleting a portal is logged as a configuration change, as for every other object.

Example

A process portal under one hostname, where each area needs a different level of trust:

Path Purpose Application settings
/request Public request form; the application confirms phone numbers itself public
/event Appointment planning for external people on their own phones; the application registers the phone itself public
/upload File upload where every file must be attributable to a person identity, restricted to a user group
/workflow Internal workflow form, company devices only tunnel, with a policy on a machine group
/admin The application's own administration Block

Two policies grant the portal: one with the employees' user group as its source, for the logins on /upload, and one with the company devices' machine group as its source, for /workflow. The public applications need neither. With names such as Request form and Upload, the identity and tunnel applications also show up in the portal's list of applications.

See also