From 10ef3a3a944d3db9ba421b4bd1de81be90835ad7 Mon Sep 17 00:00:00 2001 From: Benjamin Dweck Date: Tue, 2 Feb 2021 12:54:11 +0200 Subject: [PATCH] attempt to fix networking issues --- syncthing_monitor/syncthing_client.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/syncthing_monitor/syncthing_client.py b/syncthing_monitor/syncthing_client.py index 894253b..a19602c 100644 --- a/syncthing_monitor/syncthing_client.py +++ b/syncthing_monitor/syncthing_client.py @@ -128,6 +128,8 @@ class SyncthingClient: "localAnnounceEnabled": False, "relaysEnabled": False, "announceLANAddresses": False, + "natEnabled": False, + "urAccepted": -1 } response = self.patch("/rest/config/options", json.dumps(config_patch)) print("Patched syncthing configuration: {0}".format(response.content), flush=True)