Listening services

Goauld listening services

To allow agents to tunnel SSH connection over different transports, the server must expose the corresponding service, then decapsulate the traffic and forward it to the SSHD server.

SSH

No encapsulation, directly exposed.

Flags

  • --ssh-listen-addr: The address the SSHD server will listen to. Format: [IP]:[PORT].

TLS

  • --https-listen-addr: the address the TLS server will listen to. . Format: [IP]:[PORT].

  • --http-domain: the domain on which the WebServer will respond.

  • --tls-domain: the domain on which the SSH over TLS listener will respond.

  • --tls/--no-tls: Enable/Disable the TLS listener. Note that it impacts both the HTTPS webserver and the SSH over TLS listener.

TLS keys

The server allows two ways of providing the TLS certificate:

  • Either provide a custom certificate
    • --tls-key: path to the TLS certificate key
    • --tls-cert: path to the TLS certificate
  • Let the server handle the certificate:
    • --letsencrypt-mail: the mail used by the ACME protocol

Quic

  • --quic-listen-addr

Websocket

No configuration available.

The SSH over Websocket listener listens over the ws://[HTTP_DOMAIN]/wssh/ and wss://[HTTP_DOMAIN]/wssh/

HTTP

No configuration available.

The SSH over Websocket listener listens over the http://[HTTP_DOMAIN]/sshttp/ and https://[HTTP_DOMAIN]/sshttp/

DNS

The DNS server acts as an authoritative server and responds to DNS queries that match the SSH-over-DNS format.

  • --dns-listen-addr: The address the DNS server will listen to. It is recommended to use the port 53 to be reachable from recursive DNS servers
  • --dns-domain: The DNS domain on which the DNS server will respond. In order to maximize the throughput, it is recommended to use the shortest domain possible.
TransportFlagDescriptionExample
SSH--ssh-listen-addrAddress for SSH listener[IP]:[PORT]
TLS--https-listen-addrTLS server listen address[IP]:[PORT]
TLS--tls / --no-tlsEnable/disable TLS listener--tls
TLS--http-domainHTTPS web server domainexample.com
QUIC--quic-listen-addrQUIC listener address (UDP)[IP]:[PORT]
DNS--dns-listen-addrDNS server listen address[IP]:53
DNS--dns-domainDomain for SSH-over-DNSs.example.com