2.4 Tunnels, jump hosts and outbound proxy

Translated from French; the French version prevails if the two differ.

In short. HexaConnect manages named SSH tunnels (local, remote, SOCKS) that run without a window, VPNs (WireGuard, OpenVPN-compatible, Fortinet and Cisco AnyConnect gateways), a setup tunnel per session, SSH jump chains used by every kind of session and by the API client, access without an open SSH port through cloud providers' tools, and two kinds of outbound proxy: one for an SSH session and one for the API client.

Tunnels

Types

TypeOpenSSH equivalentUse
Local-LA port on this computer reaches a service behind the SSH server (database, admin console).
Remote-RA port on the server reaches a service on this computer.
Dynamic (SOCKS)-DA local SOCKS proxy that exits through the SSH server.

Manager

Session tunnel

The Tunnels button in the toolbar chooses the tunnel for the active session. The name of the effective tunnel is shown in the button. It offers:

The “Setup tunnel” field exists in SSH and SFTP sessions and in folders. It is inherited like the jump host; “None” breaks the inheritance. You can also choose it by right-clicking the session, › Tunnel › Go through… (see 2.2).

On connection, the tunnel is started if it is not running, then it replaces the session's jump host and proxy:

The host key is still verified under the session's name. The following are refused with a clear message: a remote tunnel (-R), a tunnel carried by the session itself, a forwarding to another host, a deleted tunnel, tunnels that carry each other. Two sessions that start the same tunnel share a single start.

VPN

The VPN section of the Tunnels panel, below the SSH tunnels, manages profiles of four kinds:

KindImportEngine
WireGuard.conf filewireguard-nt, bundled
OpenVPN-compatible.ovpn file (referenced files are inlined on import)openvpn.exe 2.6, shipped separately, unmodified
Fortinet gatewayFortiClient .xml export, text, or “Add a gateway”openconnect.exe 9.21, shipped separately, unmodified
Cisco AnyConnect.xml profile (one profile per server), or “Add a gateway”same

SSH jump hosts

Cloud access without an open SSH port

“Cloud access” jump host type for SSH, SFTP only, RDP, VNC and Telnet sessions:

ProviderOfficial tool launched by HexaConnect
AWS Systems Manager (Session Manager)aws and its Session Manager plugin
Azure Bastion (native client, Standard tier)az
Google Cloud IAPgcloud

Required plan: Pro. Cloud access (AWS SSM, Azure Bastion, GCP IAP) is reserved for the Pro and Enterprise plans; in Discovery, it is refused before the tool is launched. SSH tunnels and jump hosts are included in the free plan.

Outbound proxy for an SSH session

Outbound proxy for the API client

Settings → API → “Outbound proxy (corporate)”, for API client requests only:

An API request can also start from a saved SSH session and its jump hosts (“Route through” setting, see 2.8). Using a dynamic tunnel as a request's proxy is not available in this version.