My servers have a network 10.88.0.0/24 which is not routable outside of the host (it’s a pseudo localhost with veths, used for containers which will never need syncthing support)
Can I still have it serving on 0.0.0.0, So i don’t have to hardcode ips, but not announce those IPs?
It’s not entirely clear to me what your question is. If syncthing listens on a wildcard/unspecified address, syncthing’s announce logic will query all network interfaces for their assigned IP addresses and announce those to discovery.
This may result in announcing addresses that are not reachable for certain - or even all - other devices. This is normal and typically not a huge deal, as syncthing devices will just ignore the unreachable addresses and use another address instead.
I don’t think you can “filter” the announced addresses much. You can set announceLANAddresses to false to not announce any RFC1918 address to global discovery (has no effect on local discovery). Otherwise, there’s not much I can recall.
in the end i’m seeing it doesn’t matter it announces those IP. as soon as the good one connects it stops probing anyway. Will see when i’m on another network how chatty it gets