Skip to content

Portals

A Portal publishes web applications and remote desktops under one hostname, served by a Linux gateway asset. This page lists what is specific to Portals in the Admin Console. Everything the other gateway objects share is on Gateway objects; Portals have detail and form panels of their own.

In short

A Portal is one hostname, such as portal.example.com, with a list of applications under it: web applications, remote desktops, terminals and remote screens. Each application says who may open it: anyone, signed-in users, or only devices with the agent. You create a Portal from Assets → Create → Portal. The detail panel opens with a Setup checklist that shows what is still missing.

Before you start

  • A Linux gateway asset that is online, or the asset container image. Windows, macOS and OpenWrt assets cannot serve a Portal.
  • A hostname with at least two labels, such as portal.example.com, and a DNS record that points to the public IP of the gateway asset. Clients with the agent resolve the hostname to the tunnel address automatically; the public record is for everybody else, and an automatic certificate depends on it too. A Portal whose applications are all at the tunnel level needs no public record.
  • The gateway asset reachable from the internet on the Portal's port (443 by default), and on port 80 if you turn on the HTTP redirect. The agent opens these ports in the host firewall it manages; a firewall in front of the asset, and the port mapping of a container, are yours to configure.
  • The port free on the gateway asset. If a web server on the same host already serves it, for example the reverse proxy the Portal replaces, stop that web server: the agent takes the port over within 30 seconds of it becoming free and then requests the certificate. Until then the Portal is reported as not served. The Automatic certificate needs port 443; for other ports upload a certificate.
  • The applications reachable from the gateway asset, for example on the same network or the same container host. They need no public address.
  • For Identity and Tunnel applications: a policy that has the Portal as its destination.
  • The Admin Console is for administrators, see Roles.

Common tasks

The list

Portals are listed below their gateway asset on the Assets page. The group row shows Hostname, Public IP (the address and port of the gateway asset, e.g. 198.51.100.24:443; Tunnel only for a Portal whose applications are all at the tunnel level) and Internal IP. See The list.

Detail panel

Detail panel of a Portal Detail panel of a Portal

The panel is headed View Portal. The icons at the top right are:

Icon (tooltip) Meaning
Edit Opens the form.
Access Diagnostic Opens the access diagnostic with the Portal as the destination.
Sign Out Everyone Asks Sign out everyone from ...? and warns that every browser session of the Portal ends at its next request and visitors have to log in again. After you confirm, the console reports that everyone was signed out. The gateway asset picks the change up within seconds. Use it after an application or group change that must apply to people who are already logged in.
Delete Asks you to confirm, then deletes the Portal.

The panel opens with the setup checklist and then shows:

Field Meaning
Setup The setup checklist, see below.
Name, Description Name and description (- when empty).
Status Enabled or Disabled.
Gateway Asset The gateway asset, with a dot showing whether it is online.
Public URL The address visitors use, e.g. https://intranet.example.com. The port is part of it unless it is 443.
Port The port the Portal is served on. A host that already serves 443 can use another port; visitors then type the port, and the certificate must be uploaded, because automatic certificates are only issued on 443.
Redirect HTTP to HTTPS (port 80) Enabled or Disabled.
Certificate Automatic or Upload. 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. Upload takes a certificate and private key you provide.
Certificate status What the gateway asset reported: Valid until the expiry date and the issuer (with expires in N days when 14 days or fewer remain), Being issued, or Issuance failed: followed by the reason.
Gateway status Served, Not served, or Not reported by the gateway asset yet.
Session lifetime (hours) How long a browser login stays valid.
Created, Updated When the Portal was created and last changed.
Applications The applications of the Portal, see below.
Policy Assignments The policies that grant the Portal. Read-only; change them on the Access tab of the form.

When at least one application is a remote desktop, a terminal or a remote screen, the panel adds a group with the readiness of the gateway asset (Remote desktop on the gateway), the running sessions (Remote desktop sessions, with the session limits of the gateway, and actions to watch or end a session), the Session recordings, and the targets the gateway tested or trusts (Remote desktop targets, with a Pin button for an unpinned key). These are described in Remote Desktop in the Browser.

Setup checklist

The Setup box at the top lists what is left to do, from what the gateway asset reports, a lookup in public DNS and your policies. It reads N of M steps done while something is open and folds to Complete when everything is done; click its header to open or fold it. Each step has an icon: done, waiting (it follows by itself, e.g. the first report of the gateway asset) or a warning (it needs you).

Step Done when
Gateway asset online The gateway asset is online.
Gateway serves port N The gateway asset listens on the port. A disabled Portal shows that it is disabled.
DNS record The hostname resolves to the public IP of the gateway asset. Left out for a Portal with only tunnel applications.
Certificate The certificate is valid.
Policy An enabled policy has the Portal as its destination. Shown only when an application is at the identity or tunnel level.
Test Never ticked: it tells you to open the URL in a private browser window, or on a device with its agent connected for a tunnel-only Portal.

The link Setup guide opens Publishing a Portal.

Setup checklist of a Portal with the DNS record missing Setup checklist of a Portal with the DNS record missing

Applications list

The Applications box lists the applications of the Portal and has a Filter... field (it searches path, name, upstream, trust level and groups). Each entry shows:

  • the path prefix, followed by the name when there is one;
  • a badge with the trust level, Public, Identity or Tunnel;
  • the upstream, or Block for a blocked path;
  • the settings that apply: Strip prefix before forwarding, Hide from application lists, signs in as ... and Record sessions for a remote desktop, and the allowed networks;
  • Only for: ... with the allowed user groups, if there are any.

If there are none, the box reads No applications.

Create and edit

The form is headed Create Portal or Edit Portal. It has the tabs General, Applications and Access. The buttons at the bottom are Back and Next (move between the tabs; not shown in single view), Cancel and Apply.

Create Portal form Create Portal form

General tab

Field Meaning
Enabled/Disabled Switch, on by default. A disabled Portal is not served.
Gateway Asset The asset that serves the Portal. Required. Only Linux assets are offered; the form notes Portals are served by Linux assets and the container image. You can change it later: the hostname, the Portal's service and every policy on the Portal move with it, and both assets pick up the change within seconds.
Name Required.
Description Free text.
Hostname The hostname visitors use, e.g. portal.example.com. It must be a fully qualified name with at least two labels. The console stores it in lower case. It is unique within your tenant and is also added as a DNS name of the gateway asset.
Port Default 443. A number from 1 to 65535, but not 80, which is used for the redirect. With the Automatic certificate it must be 443 (Automatic certificates need port 443; upload a certificate for other ports).
Redirect HTTP to HTTPS (port 80) Switch, off by default. Also listens on port 80 and sends visitors who typed http:// to https://. Automatic certificates do not need it.
Certificate Automatic or Upload.
Certificate (PEM), Private key (PEM) With Upload: the certificate and its private key. Both are required when you create the Portal. When you edit it, leave the key empty to keep the stored key (Leave empty to keep the stored key). The key is never shown again and is stored only encrypted for the gateway asset: each gateway asset has a key pair of its own, the key is encrypted with it when you save, and only that gateway asset can decrypt it. To replace the certificate, paste a new certificate and key together. To move a Portal with an uploaded certificate to another gateway asset, paste the private key again: the stored one is encrypted for the previous gateway asset.
Session lifetime (hours) A whole number from 1 to 24 (Enter 1 to 24 hours), default 8. Visitors are sent to the identity provider again when it runs out.

Edit Portal form Edit Portal form

Applications tab

The Applications box lists the applications as in the detail panel. The green plus (Add application) opens the application editor for a new application. Selecting an entry opens it for editing, and the trash icon (Remove application) removes it. At least one application is required (At least one application is required). Changes to an application are kept when you choose Done in the editor and saved with the Portal when you choose Apply.

The application editor is headed Create Application or Edit Application. A new application starts at the Identity level, with the path / if it is the first.

Application editor for a web application Application editor for a web application

Field Meaning
Name (optional) What users see for the application in the Portal's list of applications. At most 64 characters, no control characters. Not shown for a Block application. Without a name, the list shows the path of a web application (an application at / goes by the Portal's name) and the target of a remote desktop.
Path prefix The part of the URL path the application answers, e.g. /admin. Must start with /, must not be /_xt or below it, and must not contain // or ...
Trust level Public: anyone, without a login. Identity: a login at your identity provider, by a user a policy grants the Portal. Tunnel: only through the agent, from a device a policy grants the Portal. A text below the field explains the chosen level.
Action Proxy forwards requests to the upstream. Block refuses every request under the prefix; the upstream fields then disappear. A blocked path is answered with 403 without contacting the upstream, which hides an admin area of an otherwise public web application.
Upstream The address of the application as the gateway asset reaches it: an absolute http:// or https:// URL without user name, query or fragment, e.g. http://app:8080. rdp://host, ssh://host or vnc://host (with an optional port from 1 to 65535, no path) open a remote desktop, a terminal or a remote screen; these need the Identity or Tunnel level. For a plain http:// upstream with an IP address or a dotted name the editor warns that requests cross the network unencrypted.
Upstream CA certificate (PEM, optional) Shown for an https:// upstream: the certificate authority the gateway asset trusts for it. Empty means the public authorities. The host name or IP address in the Upstream URL must also be in the application's certificate: an application whose certificate only names 127.0.0.1 cannot be verified at https://192.168.1.20, and visitors see upstream unavailable. There is no option to skip verification: use a certificate that names the address the gateway asset uses, or an http:// upstream on a network you trust.
Allowed user groups Shown for the Identity and Tunnel levels. Only members of the selected groups reach the application, on top of the policies. None selected means Anyone a policy grants this portal. For a login the check happens when the person comes back from the identity provider; a person outside the groups is refused and sees the reason. A login counts for the application it was started on, so a visitor who logged in through an unrestricted application logs 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.

For a remote desktop upstream the editor adds a group Remote desktop (RDP), Terminal (SSH) or Remote screen (VNC) with the sign-in (Username, Domain, Password, and for SSH a private key with Key passphrase or Sign in with a short-lived certificate), the target's identity (Certificate fingerprints for RDP, Host keys for SSH), and Record sessions. Stored passwords and keys are never shown again: a field then reads Stored. Leave empty to keep it, with an option to remove it, and they are removed when you change the target or the path prefix unless you enter them again. The editor also shows a notice when the gateway asset cannot serve the protocol yet. See Remote Desktop in the Browser for these fields.

The Advanced block at the bottom of the editor is closed by default; its header lists the settings you have changed. It contains:

Field Meaning
Strip prefix before forwarding Removes the path prefix before the request is forwarded. Not for Block or remote desktop applications.
Hide from application lists Leaves the application off the Portal's list of applications and off the users' My access page; it only hides it, whoever may open it still can. For Identity and Tunnel applications that are not blocked.
Allowed networks (CIDR, comma separated) Only requests from these networks reach the application, e.g. 203.0.113.0/24. Empty means any. The check applies to requests from the public internet; requests arriving through the agent are not affected.
Remote desktop options Keyboard layout of the target (RDP), Copy from the session, Paste into the session, File upload and File download (RDP and SSH) and Idle timeout (minutes), 1 to 1440, empty for 30.

Cancel discards the changes to the application, Done keeps them if the fields are valid.

Access tab

The Access tab shows Policy Assignments, with a text explaining that policies with this Portal as destination grant its identity applications to the users of their user groups and its tunnel applications to their devices, and that public applications need no policy. Select the policies to add the Portal to; the changes are applied when you press Apply. If the Portal is saved but cannot be added to a policy, the console names the policies. On edit, removing the Portal from a policy asks for confirmation first.

After Apply the console shows Portal created successfully or Portal updated successfully and opens the detail panel of the Portal.

See also