Skip to content
webpack
Sign in
Private Networks and Tunnels

rathole

Installs the pinned rathole release, writes /etc/rathole/config.toml (mode 640) for the chosen role and runs it as a sandboxed systemd service. The server role opens the tunnel port and the service port in ufw when ufw is active. Safe to run again.

What it does

Private Network and Tunnel Installers

What you will be asked

You fill these in during setup.

  • Role of this server Required
    server: this server has the public address and listens for the client. client: this server delivers a local service to the server.
  • Shared token Required
    A secret both sides must know (16 to 64 letters and digits). Choose it on the server and enter the same value on the client.
  • Tunnel port Required
    The port the server listens on for the client connection (the control channel). Must be the same on both sides.
  • Service port Required
    On the server: the public port people connect to. On the client: the local port of the service to deliver (for example 443 for a proxy panel). Use the same number on both sides.
  • Server address (client role only) Optional
    The public IP address or domain of the server side. Leave empty for the server role.

Reconnecting Could not reconnect The page is paused

The connection to the site dropped. We are bringing it back; your page stays as it is. Check your internet connection. We keep trying by ourselves, and the page reloads once the site answers. This page was paused to save resources. Resume it to continue.