On every installation, I have notice that the only connection allowed to HTML GUI is the device itself (i.e. 127.0.0.1), until Credentials are set.
Now, I have installed Syncthing on an external machine to which I access via SSH.
At first, I have connected via Lynx which is a text-mode web browser running inside that machine, but Syncthing HTML GUI requires JS, So I was not able to setup anything.
And so, I was not able to connect to it from an external machine.
I then setup credentials with the following commands.
syncthing cli config gui user set NAME
syncthing cli config gui password set PASS
syncthing cli config gui raw-address set 0.0.0.0:8384
Details:
[alarm@alarmpi ~]$ syncthing cli config gui raw-address
NAME:
syncthing gui raw-address -
USAGE:
syncthing gui raw-address command [command options] [arguments...]
COMMANDS:
ACTIONS:
get Get the value
set Set the value
OPTIONS:
--help, -h show help
[alarm@alarmpi ~]$ syncthing cli config gui raw-address get
127.0.0.1:8384
[alarm@alarmpi ~]$ syncthing cli config gui raw-address set 0.0.0.0:8384
[alarm@alarmpi ~]$ syncthing cli config gui raw-address get
0.0.0.0:8384