Configuration to restrict syncing only when on same network

I deleted my post with details about the API not running as I believe the issue warranted its own topic, which may be found here:

API offline but Syncthing “Running (Offline)”

Thanks.