Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.07 KB

remote.md

File metadata and controls

39 lines (27 loc) · 1.07 KB

Connecting the UI to a Remote Daemon

On the daemon host

Open the daemon's port

In order to be accessible from another machine, the daemon's port must be opened on its 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/<currentversion>/config/ssl/daemon/private_daemon.crt
~/.chia/<currentversion>/config/ssl/daemon/private_daemon.key

On the UI host

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

~/.chia/<currentversion>/config/ssl/ui/
~/.chia/<currentversion>/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