home computer (public IP 188.8.131.52), Syncthing running, http://127.0.0.1:8384 works.
distant container/server (IP 10.10.10.10) that I connect via SSH on port 1234 from home computer with:
ssh -p 1234 email@example.com -L 8385:localhost:8384
Then http://127.0.0.1:8385 works well: it opens the server’s Syncthing configuration page.
Problem: in the right bottom
Remote Devices list, I see the connection is done via a relay. It is thus very slow (less than 100 KB / sec).
Question: how to configure the device so that it uses the SSH forwarding tunnel?
I tried, on my home computer’s Syncthing, to configure the “distant server Device” with
Edit Device > Advanced > Addresses, and add this in it:
I hoped that my home computer would try to reach the distant server with 127.0.0.1:8385 being tunnelled to 10.10.10.10:8384 via SSH, but it does not work: it still uses the relay instead.
Note: It’s close to issue with ssh forwarding but not exactly the same, the latter didn’t help.