Skip to content

Connecting the UI to a remote daemon

Don Kackman edited this page Feb 19, 2021 · 20 revisions

On the daemon host

Open the daemon's port

In order to be accessible from another machine, the dameon's port must be opened on its host. The UI assumes that the daemon is already running and it will not attempt to start a remote host. Using ufw and restricting traffic to just the UI's host:

sudo ufw allow from <IP of UI machine> to any port 55400 proto tcp

Copy the daemon's cert files

To secure their connection, the UI will need the daemon's certificates. Copy these files to the UI machine:

~/.chia/<currentvesion>/config/ssl/daemon/private_daemon.crt
~/.chia/<currentvesion>/config/ssl/daemon/private_daemon.key

On the UI host

Place the daemon's cert files, copied earlier, in the following location:

~/.chia/<currentvesion>/config/ssl/ui/
~/.chia/<currentvesion>/config/ssl/ui/

Find the ui section in config.yaml and specify the following settings:

daemon_host: <name or IP of the daemon host>
daemon_port: 55400
daemon_ssl:
  private_crt: config/ssl/ui/private_daemon.crt
  private_key: config/ssl/ui/private_daemon.key
Clone this wiki locally