I’m trying to add a remote Device running to my Win10 Notebook.
Remote Device:
Syncthing v1.5.0
Debian Linux (64 bit)
Reachable via VPN, IP: 10.192.232.111
listen address set to “default”, which includes “tcp://0.0.0.0:22000”
Notebook:
Syncthing v1.8.0
Windows 10 (64 bit)
I want the notebook to be as “quiet” as possible, therefore I disabled all the fancy functionality, i.e. NAT traversal, Global Discovery, Local Discovery, Relaying.
The Notebook is configured to try and connect to “tcp://10.192.232.111:22000” which is working fine from another Linux machine.
The remote device is only reachable via a VPN connection and the routes are all configured correctly. I didn’t have to manually change any routes, but checked them using PowerShell’s Find-NetRoute.
10.192.232.111:22000 is reachable from the notebook, which I verified using telnet.
The Problem is:
Syncthing is trying to connect to the remote machine using the wrong route/interface and therefore fails.
The error message is:
Which interface is used to connect to certain addresses is controlled by the operating system and not syncthing. On linux I think you can see that using ip route not sure what the equivalent is for windows.
Which version are you on?
If it’s 1.8.0, try 1.7.1 and see if it makes a difference.
There has been a change that landed in 1.8.0 that tries to dial out from the same address as it’s listening on to improve probability of punching though nats, which I guess is a form of control of which adapter is used for dialing out.