Contrary to the worries, the phone and the server on it seem to be running well (no dropped connections, etc.). I did have to change one additional setting on Android to prevent the device from sleeping, but I will come back to it later.
However, I have had a weird problem with being unable to access https://relays.syncthing.net while the server is running. Just a disclaimer, as my knowledge about networking is quite limited, so please let me know if I’m talking about something obvious.
Basically, I have tried the following.
- Run
strelaysrv -nat
with no port forwarding. It connects and works fine with no additional configuration, but the outside port is randomly chosen by the router. - Run just
strelaysrv
and forward the port22067
on the router. It also works OK. - Run
strelaysrv -ext-address=:443
and forward the port443
to22067
on the router. Works as well. - Run
strelaysrv -listen=:443
as root and forward the port443
on the router. Also works.
The problem is that whatever I do, once the server goes online, then I seem to be unable to open https://relays.syncthing.net from other devices on the same network.
What is weird is that only the Windows computers seem to be affected, as I can still open the site from a different Android device. I have tried using three different browsers, and also disabling Windows Firewall, but to no avail. I thought that this might have been a problem with my Windows settings, but one of the affected devices runs freshly installed Windows with basically stock configuration.
Am I missing something obvious, or is there more that I need to configure in order to get everything to work properly?