Only connecting via relay

I’ve recently installed Manjaro and am trying to get syncthing running, but am finding that it’s always connecting via a relay instead of locally. I have multiple other machines on the network (debian-base, android or windows) which are able to connect locally.

I’ve added syncthing exceptions to ufw, and disabled ufw. It’s still always connecting via a relay (and hence getting terrible speeds).

Log output (some local info abbridged):

2018-02-10 15:18:42 syncthing v0.14.43 "Dysprosium Dragonfly" (go1.9.2 linux-amd64) builduser@svetlemodry 2018-01-10 21:48:12 UTC [noupgrade]
2018-02-10 15:18:42 My ID: KSNBYAG
2018-02-10 15:18:43 Single thread SHA256 performance is 336 MB/s using minio/sha256-simd (284 MB/s using crypto/sha256).
2018-02-10 15:18:43 Hashing performance with weak hash is 279.80 MB/s
2018-02-10 15:18:44 Hashing performance without weak hash is 356.72 MB/s
2018-02-10 15:18:44 Weak hash disabled, as it has an unacceptable performance impact.
2018-02-10 15:18:44 Ready to synchronize "Camera" (abc-def) (readwrite)
2018-02-10 15:18:44 Ready to synchronize "Documents" (geh-ijk) (readwrite)
2018-02-10 15:18:44 Ready to synchronize "Pictures" (lmn-opq) (readwrite)
2018-02-10 15:18:44 Send rate is unlimited, receive rate is unlimited
2018-02-10 15:18:44 ...
2018-02-10 15:18:44 Rate limits do not apply to LAN connections
2018-02-10 15:18:44 Using discovery server https://discovery-v4-2.syncthing.net/v2/?id=DVU36WY-H3LVZHW-E6LLFRE-YAFN5EL-HILWRYP-OC2M47J-Z4PE62Y-ADIBDQC
2018-02-10 15:18:44 Using discovery server https://discovery-v4-3.syncthing.net/v2/?id=VK6HNJ3-VVMM66S-HRVWSCR-IXEHL2H-U4AQ4MW-UCPQBWX-J2L2UBK-NVZRDQZ
2018-02-10 15:18:44 Using discovery server https://discovery-v4-4.syncthing.net/v2/?id=LYXKCHX-VI3NYZR-ALCJBHF-WMZYSPK-QG6QJA3-MPFYMSO-U56GTUK-NA2MIAW
2018-02-10 15:18:44 Using discovery server https://discovery-v6-2.syncthing.net/v2/?id=DVU36WY-H3LVZHW-E6LLFRE-YAFN5EL-HILWRYP-OC2M47J-Z4PE62Y-ADIBDQC
2018-02-10 15:18:44 TCP listener ([::]:22000) starting
2018-02-10 15:18:44 Relay listener (dynamic+https://relays.syncthing.net/endpoint) starting
2018-02-10 15:18:44 KCP listener ([::]:22020) starting
2018-02-10 15:18:44 Completed initial scan of readwrite folder "Pictures" (lmn-opq)
2018-02-10 15:18:44 Completed initial scan of readwrite folder "Camera" (abc-def)
2018-02-10 15:18:44 Completed initial scan of readwrite folder "Documents" (geh-ijk)
2018-02-10 15:18:44 Puller (folder "Documents" (geh-ijk), file "f/include/python2.7"): symlink create: stat Documents/f/include: no such file or directory
2018-02-10 15:18:44 Puller (folder "Documents" (geh-ijk), file "f/local/bin"): symlink create: stat Documents/f/local: no such file or directory
2018-02-10 15:18:44 Puller (folder "Documents" (geh-ijk), file "f/local/include"): symlink create: stat Documents/f/local: no such file or directory
2018-02-10 15:18:44 Puller (folder "Documents" (geh-ijk), file "f/local/lib"): symlink create: stat Documents/f/local: no such file or directory
2018-02-10 15:18:44 Puller (folder "Documents" (geh-ijk), file "f/local/log"): symlink create: stat Documents/f/local: no such file or directory
2018-02-10 15:18:44 Puller (folder "Documents" (geh-ijk), file "include/python3.6m"): symlink create: stat Documents/include: no such file or directory
2018-02-10 15:18:44 Folder "Documents" (geh-ijk) isn't making progress. Pausing puller for 1m0s.
2018-02-10 15:18:51 Using discovery server https://discovery-v6-3.syncthing.net/v2/?id=VK6HNJ3-VVMM66S-HRVWSCR-IXEHL2H-U4AQ4MW-UCPQBWX-J2L2UBK-NVZRDQZ
2018-02-10 15:18:51 Using discovery server https://discovery-v6-4.syncthing.net/v2/?id=LYXKCHX-VI3NYZR-ALCJBHF-WMZYSPK-QG6QJA3-MPFYMSO-U56GTUK-NA2MIAW
2018-02-10 15:18:51 Device H67P2QN is "Mint" at [dynamic]
2018-02-10 15:18:51 Device KSNBYAG is "Manjaro" at [dynamic]
2018-02-10 15:18:51 Device DTPRZAN is "Windows" at [dynamic]
2018-02-10 15:18:51 Device TJZVSAK is "Android" at [dynamic]
2018-02-10 15:18:51 Device UPVW6A7 is "syncthing-server" at [dynamic]
2018-02-10 15:18:51 Device CGGT3QS is "Windows2" at [dynamic]
2018-02-10 15:18:51 GUI and API listening on 127.0.0.1:8080
2018-02-10 15:18:51 Access the GUI via the following URL: http://127.0.0.1:8080/
2018-02-10 15:18:58 Enabled debug data for "connections"
2018-02-10 15:18:59 Joined relay relay://213.124.171.119:22067
2018-02-10 15:19:01 Enabled debug data for "nat"
2018-02-10 15:19:01 dialing UPVW6A7 tcp://86.30.67.146:22000 error: dial tcp 86.30.67.146:22000: i/o timeout
2018-02-10 15:19:01 failed to connect to UPVW6A7 10
2018-02-10 15:19:01 dialing UPVW6A7 relay://5.189.179.192:22067/?id=BGNHWLI-WJZ2GX6-YRDZGYF-M6G7V7I-XCTZPTP-LT7IBUU-HHWNBAY-O3YSIQI&pingInterval=1m0s&networkTimeout=2m0s&sessionLimitBps=0&globalLimitBps=0&statusAddr=:22070&providedBy=FIRF prio 200
2018-02-10 15:19:01 dialing UPVW6A7 relay://5.189.179.192:22067/?id=BGNHWLI-WJZ2GX6-YRDZGYF-M6G7V7I-XCTZPTP-LT7IBUU-HHWNBAY-O3YSIQI&pingInterval=1m0s&networkTimeout=2m0s&sessionLimitBps=0&globalLimitBps=0&statusAddr=:22070&providedBy=FIRF error: Incorrect response code 1: not found
2018-02-10 15:19:01 failed to connect to UPVW6A7 200
2018-02-10 15:19:02 Enabled debug data for "pmp"
2018-02-10 15:19:02 Reconnect loop for CGGT3QS []
2018-02-10 15:19:03 Enabled debug data for "upnp"
2018-02-10 15:19:04 Reconnect loop for H67P2QN []
2018-02-10 15:19:05 Error getting new lease on NAT-PMP@192.168.11.254 Timed out trying to contact gateway
2018-02-10 15:19:05 Error getting new lease on NAT-PMP@192.168.11.254 read udp 192.168.11.51:37138->192.168.11.254:5351: recvfrom: connection refused
2018-02-10 15:19:05 Error getting new lease on NAT-PMP@192.168.11.254 read udp 192.168.11.51:56423->192.168.11.254:5351: recvfrom: connection refused
2018-02-10 15:19:05 Error getting new lease on NAT-PMP@192.168.11.254 read udp 192.168.11.51:60183->192.168.11.254:5351: recvfrom: connection refused
2018-02-10 15:19:05 Failed to acquire TCP 0.0.0.0:22000 mapping on NAT-PMP@192.168.11.254
2018-02-10 15:19:05 Detected 1 NAT device
2018-02-10 15:19:08 kcp://0.0.0.0:22020 detected NAT type: Port restricted NAT
2018-02-10 15:19:08 kcp://0.0.0.0:22020 resolved external address kcp://86.30.67.146:22020 (via stun.schlund.de:3478)
2018-02-10 15:19:10 Reconnect loop for DTPRZAN []
2018-02-10 15:19:17 Reconnect loop for TJZVSAK [kcp://86.30.67.146:22020 tcp://86.30.67.146:21384 tcp://86.30.67.146:22000]
2018-02-10 15:19:17 Not dialing tcp://86.30.67.146:22000 as sleep is 0s, next dial is at 2018-02-10 15:19:44.53717698 +0000 GMT m=+61.954984657 and current time is 2018-02-10 15:18:44.53717698 +0000 GMT m=+1.954984657
2018-02-10 15:19:17 dialing TJZVSAK tcp://86.30.67.146:21384 prio 10
2018-02-10 15:19:27 dialing TJZVSAK tcp://86.30.67.146:21384 error: dial tcp 86.30.67.146:21384: i/o timeout
2018-02-10 15:19:27 failed to connect to TJZVSAK 10
2018-02-10 15:19:27 dialing TJZVSAK kcp://86.30.67.146:22020 prio 50
2018-02-10 15:19:27 dial kcp://86.30.67.146:22020 using existing conn on [::]:22020
2018-02-10 15:19:37 dialing TJZVSAK kcp://86.30.67.146:22020 error: i/o timeout
2018-02-10 15:19:37 failed to connect to TJZVSAK 50
2018-02-10 15:19:37 initial rampup; sleep 1s and update to 2s
2018-02-10 15:19:38 Reconnect loop
2018-02-10 15:19:38 Reconnect loop for UPVW6A7 [relay://5.189.179.192:22067/?id=BGNHWLI-WJZ2GX6-YRDZGYF-M6G7V7I-XCTZPTP-LT7IBUU-HHWNBAY-O3YSIQI&pingInterval=1m0s&networkTimeout=2m0s&sessionLimitBps=0&globalLimitBps=0&statusAddr=:22070&providedBy=FIRF tcp://86.30.67.146:22000]
2018-02-10 15:19:38 dialing UPVW6A7 tcp://86.30.67.146:22000 prio 10
2018-02-10 15:19:45 Puller (folder "Documents" (geh-ijk), file "f/include/python2.7"): symlink create: stat Documents/f/include: no such file or directory
2018-02-10 15:19:45 Puller (folder "Documents" (geh-ijk), file "f/local/bin"): symlink create: stat Documents/f/local: no such file or directory
2018-02-10 15:19:45 Puller (folder "Documents" (geh-ijk), file "f/local/include"): symlink create: stat Documents/f/local: no such file or directory
2018-02-10 15:19:45 Puller (folder "Documents" (geh-ijk), file "f/local/lib"): symlink create: stat Documents/f/local: no such file or directory
2018-02-10 15:19:45 Puller (folder "Documents" (geh-ijk), file "f/local/log"): symlink create: stat Documents/f/local: no such file or directory
2018-02-10 15:19:45 Puller (folder "Documents" (geh-ijk), file "include/python3.6m"): symlink create: stat Documents/include: no such file or directory
2018-02-10 15:19:45 Folder "Documents" (geh-ijk) isn't making progress. Pausing puller for 1m0s.
2018-02-10 15:19:48 dialing UPVW6A7 tcp://86.30.67.146:22000 error: dial tcp 86.30.67.146:22000: i/o timeout
2018-02-10 15:19:48 failed to connect to UPVW6A7 10
2018-02-10 15:19:48 dialing UPVW6A7 relay://5.189.179.192:22067/?id=BGNHWLI-WJZ2GX6-YRDZGYF-M6G7V7I-XCTZPTP-LT7IBUU-HHWNBAY-O3YSIQI&pingInterval=1m0s&networkTimeout=2m0s&sessionLimitBps=0&globalLimitBps=0&statusAddr=:22070&providedBy=FIRF prio 200
2018-02-10 15:19:49 dialing UPVW6A7 relay://5.189.179.192:22067/?id=BGNHWLI-WJZ2GX6-YRDZGYF-M6G7V7I-XCTZPTP-LT7IBUU-HHWNBAY-O3YSIQI&pingInterval=1m0s&networkTimeout=2m0s&sessionLimitBps=0&globalLimitBps=0&statusAddr=:22070&providedBy=FIRF error: Incorrect response code 1: not found
2018-02-10 15:19:49 failed to connect to UPVW6A7 200
2018-02-10 15:19:49 Reconnect loop for CGGT3QS []
2018-02-10 15:19:49 Reconnect loop for H67P2QN []
2018-02-10 15:19:49 Reconnect loop for DTPRZAN []
2018-02-10 15:19:49 Reconnect loop for TJZVSAK [kcp://86.30.67.146:22020 tcp://86.30.67.146:21384 tcp://86.30.67.146:22000]
2018-02-10 15:19:49 dialing TJZVSAK tcp://86.30.67.146:21384 prio 10
2018-02-10 15:19:49 dialing TJZVSAK tcp://86.30.67.146:22000 prio 10
2018-02-10 15:19:59 dialing TJZVSAK tcp://86.30.67.146:21384 error: dial tcp 86.30.67.146:21384: i/o timeout
2018-02-10 15:19:59 dialing TJZVSAK tcp://86.30.67.146:22000 error: dial tcp 86.30.67.146:22000: i/o timeout
2018-02-10 15:19:59 failed to connect to TJZVSAK 10
2018-02-10 15:19:59 dialing TJZVSAK kcp://86.30.67.146:22020 prio 50
2018-02-10 15:19:59 dial kcp://86.30.67.146:22020 using existing conn on [::]:22020
2018-02-10 15:20:09 dialing TJZVSAK kcp://86.30.67.146:22020 error: i/o timeout
2018-02-10 15:20:09 failed to connect to TJZVSAK 50
2018-02-10 15:20:09 initial rampup; sleep 2s and update to 4s
2018-02-10 15:20:11 Reconnect loop
2018-02-10 15:20:11 Reconnect loop for UPVW6A7 [kcp://86.30.67.146:22020 relay://37.187.57.69:22067/?id=RNNNCQC-2AXU3A2-ESGRUF5-77TRBDY-NAJKVRQ-GABJVVX-564HYJA-SI5OHAO&pingInterval=1m0s&networkTimeout=2m0s&sessionLimitBps=0&globalLimitBps=0&statusAddr=:22070&providedBy=Bitcoin : 1HDUaWLFV5yXBpu24DS8Ldn5eJ9nsPJ8Wg relay://5.189.179.192:22067/?id=BGNHWLI-WJZ2GX6-YRDZGYF-M6G7V7I-XCTZPTP-LT7IBUU-HHWNBAY-O3YSIQI&pingInterval=1m0s&networkTimeout=2m0s&sessionLimitBps=0&globalLimitBps=0&statusAddr=:22070&providedBy=FIRF tcp://86.30.67.146:22000]
2018-02-10 15:20:11 dialing UPVW6A7 tcp://86.30.67.146:22000 prio 10
2018-02-10 15:20:21 dialing UPVW6A7 tcp://86.30.67.146:22000 error: dial tcp 86.30.67.146:22000: i/o timeout
2018-02-10 15:20:21 failed to connect to UPVW6A7 10
2018-02-10 15:20:21 dialing UPVW6A7 kcp://86.30.67.146:22020 prio 50
2018-02-10 15:20:21 dial kcp://86.30.67.146:22020 using existing conn on [::]:22020
2018-02-10 15:20:31 dialing UPVW6A7 kcp://86.30.67.146:22020 error: i/o timeout
2018-02-10 15:20:31 failed to connect to UPVW6A7 50
2018-02-10 15:20:31 dialing UPVW6A7 relay://5.189.179.192:22067/?id=BGNHWLI-WJZ2GX6-YRDZGYF-M6G7V7I-XCTZPTP-LT7IBUU-HHWNBAY-O3YSIQI&pingInterval=1m0s&networkTimeout=2m0s&sessionLimitBps=0&globalLimitBps=0&statusAddr=:22070&providedBy=FIRF prio 200
2018-02-10 15:20:31 dialing UPVW6A7 relay://37.187.57.69:22067/?id=RNNNCQC-2AXU3A2-ESGRUF5-77TRBDY-NAJKVRQ-GABJVVX-564HYJA-SI5OHAO&pingInterval=1m0s&networkTimeout=2m0s&sessionLimitBps=0&globalLimitBps=0&statusAddr=:22070&providedBy=Bitcoin : 1HDUaWLFV5yXBpu24DS8Ldn5eJ9nsPJ8Wg prio 200
2018-02-10 15:20:31 Dial (BEP/relay): setting traffic class: setsockopt: protocol not available
2018-02-10 15:20:31 dialing UPVW6A7 relay://37.187.57.69:22067/?id=RNNNCQC-2AXU3A2-ESGRUF5-77TRBDY-NAJKVRQ-GABJVVX-564HYJA-SI5OHAO&pingInterval=1m0s&networkTimeout=2m0s&sessionLimitBps=0&globalLimitBps=0&statusAddr=:22070&providedBy=Bitcoin : 1HDUaWLFV5yXBpu24DS8Ldn5eJ9nsPJ8Wg success: 192.168.11.51:56392-37.187.57.69:22067/relay-client
2018-02-10 15:20:31 connected to UPVW6A7 200 using 192.168.11.51:56392-37.187.57.69:22067/relay-client 200
2018-02-10 15:20:31 Established secure connection to UPVW6A7 at 192.168.11.51:56392-37.187.57.69:22067 (relay-client) (TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305)
2018-02-10 15:20:31 Device UPVW6A7 client is "syncthing v0.14.44" named "syncthing-server"
2018-02-10 15:20:32 dialing UPVW6A7 relay://5.189.179.192:22067/?id=BGNHWLI-WJZ2GX6-YRDZGYF-M6G7V7I-XCTZPTP-LT7IBUU-HHWNBAY-O3YSIQI&pingInterval=1m0s&networkTimeout=2m0s&sessionLimitBps=0&globalLimitBps=0&statusAddr=:22070&providedBy=FIRF error: Incorrect response code 1: not found
2018-02-10 15:20:32 discarding 0 connections while connecting to UPVW6A7 200
2018-02-10 15:20:32 Puller (folder "Documents" (geh-ijk), file "f/include/python2.7"): symlink create: stat Documents/f/include: no such file or directory
2018-02-10 15:20:32 Puller (folder "Documents" (geh-ijk), file "f/local/bin"): symlink create: stat Documents/f/local: no such file or directory
2018-02-10 15:20:32 Puller (folder "Documents" (geh-ijk), file "f/local/include"): symlink create: stat Documents/f/local: no such file or directory
2018-02-10 15:20:32 Puller (folder "Documents" (geh-ijk), file "f/local/lib"): symlink create: stat Documents/f/local: no such file or directory
2018-02-10 15:20:32 Puller (folder "Documents" (geh-ijk), file "f/local/log"): symlink create: stat Documents/f/local: no such file or directory
2018-02-10 15:20:32 Puller (folder "Documents" (geh-ijk), file "include/python3.6m"): symlink create: stat Documents/include: no such file or directory
2018-02-10 15:20:36 Reconnect loop for CGGT3QS []
2018-02-10 15:20:36 Reconnect loop for H67P2QN []
2018-02-10 15:20:38 Reconnect loop for DTPRZAN []
2018-02-10 15:20:38 Reconnect loop for TJZVSAK [kcp://86.30.67.146:22020 tcp://86.30.67.146:21384 tcp://86.30.67.146:22000]
2018-02-10 15:20:38 dialing TJZVSAK tcp://86.30.67.146:21384 prio 10
2018-02-10 15:20:38 dialing TJZVSAK tcp://86.30.67.146:22000 prio 10
2018-02-10 15:20:48 dialing TJZVSAK tcp://86.30.67.146:21384 error: dial tcp 86.30.67.146:21384: i/o timeout
2018-02-10 15:20:48 dialing TJZVSAK tcp://86.30.67.146:22000 error: dial tcp 86.30.67.146:22000: i/o timeout
2018-02-10 15:20:48 failed to connect to TJZVSAK 10
2018-02-10 15:20:48 dialing TJZVSAK kcp://86.30.67.146:22020 prio 50
2018-02-10 15:20:48 dial kcp://86.30.67.146:22020 using existing conn on [::]:22020
2018-02-10 15:20:58 dialing TJZVSAK kcp://86.30.67.146:22020 error: i/o timeout
2018-02-10 15:20:58 failed to connect to TJZVSAK 50
2018-02-10 15:20:58 initial rampup; sleep 4s and update to 8s
2018-02-10 15:21:02 Reconnect loop
2018-02-10 15:21:07 Reconnect loop for UPVW6A7 [kcp://86.30.67.146:22020 relay://37.187.57.69:22067/?id=RNNNCQC-2AXU3A2-ESGRUF5-77TRBDY-NAJKVRQ-GABJVVX-564HYJA-SI5OHAO&pingInterval=1m0s&networkTimeout=2m0s&sessionLimitBps=0&globalLimitBps=0&statusAddr=:22070&providedBy=Bitcoin : 1HDUaWLFV5yXBpu24DS8Ldn5eJ9nsPJ8Wg relay://5.189.179.192:22067/?id=BGNHWLI-WJZ2GX6-YRDZGYF-M6G7V7I-XCTZPTP-LT7IBUU-HHWNBAY-O3YSIQI&pingInterval=1m0s&networkTimeout=2m0s&sessionLimitBps=0&globalLimitBps=0&statusAddr=:22070&providedBy=FIRF tcp://86.30.67.146:22000]
2018-02-10 15:21:07 Not dialing using Relay Dialer as priority is less than current connection (200 >= 200)
2018-02-10 15:21:07 Not dialing using Relay Dialer as priority is less than current connection (200 >= 200)
2018-02-10 15:21:07 dialing UPVW6A7 tcp://86.30.67.146:22000 prio 10
2018-02-10 15:21:17 dialing UPVW6A7 tcp://86.30.67.146:22000 error: dial tcp 86.30.67.146:22000: i/o timeout
2018-02-10 15:21:17 failed to connect to UPVW6A7 10
2018-02-10 15:21:17 dialing UPVW6A7 kcp://86.30.67.146:22020 prio 50
2018-02-10 15:21:17 dial kcp://86.30.67.146:22020 using existing conn on [::]:22020
2018-02-10 15:21:27 dialing UPVW6A7 kcp://86.30.67.146:22020 error: i/o timeout
2018-02-10 15:21:27 failed to connect to UPVW6A7 50
2018-02-10 15:21:27 Reconnect loop for CGGT3QS []
2018-02-10 15:21:27 Reconnect loop for H67P2QN []
2018-02-10 15:21:27 Reconnect loop for DTPRZAN []
2018-02-10 15:21:27 Reconnect loop for TJZVSAK [kcp://86.30.67.146:22020 tcp://86.30.67.146:21384 tcp://86.30.67.146:22000]
2018-02-10 15:21:27 dialing TJZVSAK tcp://86.30.67.146:21384 prio 10
2018-02-10 15:21:27 dialing TJZVSAK tcp://86.30.67.146:22000 prio 10

Whilst creating this log “Android” was online at 192.168.11.51 and “syncthing-server” was online at 192.168.11.100, other clients were powered off.

ufw settings:

> sudo ufw status verbose

Status: active
Logging: on (high)
Default: deny (incoming), allow (outgoing), disabled (routed)
New profiles: skip

To                         Action      From
--                         ------      ----
22000/tcp (syncthing)      ALLOW IN    Anywhere                  
21027/udp (syncthing)      ALLOW IN    Anywhere                  
27015/tcp                  ALLOW IN    Anywhere                  
21025                      ALLOW IN    Anywhere                  
22000                      ALLOW IN    Anywhere                  
22000/tcp (syncthing (v6)) ALLOW IN    Anywhere (v6)             
21027/udp (syncthing (v6)) ALLOW IN    Anywhere (v6)             
27015/tcp (v6)             ALLOW IN    Anywhere (v6)             
21025 (v6)                 ALLOW IN    Anywhere (v6)             
22000 (v6)                 ALLOW IN    Anywhere (v6)             

21025                      ALLOW OUT   Anywhere                  
22000                      ALLOW OUT   Anywhere                  
21025 (v6)                 ALLOW OUT   Anywhere (v6)             
22000 (v6)                 ALLOW OUT   Anywhere (v6)  

Can anyone help?

Multicast and broadcasts need to be enabled on the network for local discovery to work, and the devices need to be on the same subnet.

Thank you for your reply. Devices are all on the same subnet (192.168.11.0/24), all except the server being assigned by the same DHCP server. As far as I can tell multicast and broadcast are enabled

> ip addr
2: wlp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group     default qlen 1000
link/ether 54:8c:a0:70:64:f5 brd ff:ff:ff:ff:ff:ff
inet 192.168.11.51/24 brd 192.168.11.255 scope global dynamic noprefixroute wlp1s0
   valid_lft 86170sec preferred_lft 86170sec
inet6 fe80::6705:ad48:34ee:b61e/64 scope link noprefixroute 
   valid_lft forever preferred_lft forever

You can run with STTRACE=discover,connections and see what addresses syncthing discovers and what addresses it tries to connect to. If it doesn’t discover any local addresses, then multicasts/broadcasts are not working or they are in different subnets.

Thank you for your help.

I don’t think it was a multicast/broadcast issue, but the debug logs did help. Experimenting further I found that it could do a local link Manjaro <-> Mint as well as Mint <-> Server, just not Manjaro <-> Server.

The change that finally made it do a local connection was moving the server docker container to it’s own MacVLAN IP address instead of Bridge, but before I got there I also enabled IPv6 on the server and changed the server firewall port from 21027 to 21025, which probably helped too.

I’m still getting rubbish speeds Manjaro <-> Server, but at least I now know it’s not caused by going through a relay.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.