No idea what you mean by creating an URL. Syncthing communicates with its own protocol over tcp. You need a way to discover the other device (local/global discovery or fixed IP) and an open port (forwarded or upnp) on one of the two devices (usually port 22000) to sync - nothing is exposed. To access the web UI on the vps, you can either expose it secured with a login or create an ssh tunnel to access it “locally”.
What i mean buy accessing it url. I mean that one you install it there is a gui to access and make changes and so on. So I dont want that access available to the world because its not password protected.
How would I access it with a ssh tunnel locally ? I am not sure what you mean by that.
I don’t know about the docs, but it’s just a regular ssh tunnel. By default the Syncthing UI is accessible at localhost:8384, so on the homeserver you’d run something like ssh -fN -L 8385:*yourVPSIP*:8384 and then you can access the Syncthing UI belonging to the VPS on the homeserver at localhost:8385.
What do you want to do - access the VPS Syncthing UI without logging into the VPS and without exposing the UI?
-L is the main thing, it establishes the forwarding. -fN makes it go to the background and without executing a command (man ssh can tell you all about that).