Sia-UI
Sia-UI copied to clipboard
Allow usage of remote siad
I would like to be able to run the UI on my pc, while leaving the siad running on a remote host, is it possible?
Hi,
Yes it is possible, for now it is not intended use so it will require some hacks.
You need to go in the Sia-UI files and seek for siad executable, back this one up then as an example, on a Linux host, replace it with a shell script and set this one as executable (chmod +x siad), siad being the shell script.
#!/bin/sh sleep infinity
Then we must open a tunnel for Sia-UI to be able to connect to the remote siad. For example, you can use ssh, in a terminal type:
ssh -L 9980:localhost:9980 user@host
user and host being filled with your server details.
Now you can start Sia-UI, it will start the shell script believing it is siad, and it will connect to the ssh tunnel being able to interact with your remote siad. Note that the shell script must stay running as Sia-UI has a watchdog on it.
Regards
Can I formally REQUEST this as a feature? I just finished installing Sia in a jail on my FreeNAS host. If I can't have the daemon running there (always) and run a UI from my desktop (occasionally) then I probably won't run it.... which would be a shame, since I've got 3k+ Sia right now waiting to fund a node. Having read several posts by others about running this in a jail on my way here I know for certain that I am not the only one who intends such a use. (Running the daemon on a NAS seems rather like the IDEAL use case).