From b8349e635e3deb0222283b32d35c4b0afb87de1c Mon Sep 17 00:00:00 2001 From: Catfriend1 <16361913+Catfriend1@users.noreply.github.com> Date: Sat, 14 Oct 2023 22:15:19 +0200 Subject: [PATCH 1/6] Update device-allowednetworks.rst --- advanced/device-allowednetworks.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/advanced/device-allowednetworks.rst b/advanced/device-allowednetworks.rst index b0a8e9032..f5136fc33 100644 --- a/advanced/device-allowednetworks.rst +++ b/advanced/device-allowednetworks.rst @@ -1,9 +1,9 @@ -.. _allowed-networks: +.. _allowed-network: -allowedNetworks -=============== +allowedNetwork +============== -``allowedNetworks`` is an advanced device setting that affects connection +``allowedNetwork`` is an advanced device setting that affects connection handling. The default is for this setting to be empty, indicating that there is no restriction on the allowed networks for a device. From b266d712049a7e05aba9979568cbe0f324cc1eb1 Mon Sep 17 00:00:00 2001 From: Catfriend1 <16361913+Catfriend1@users.noreply.github.com> Date: Sun, 15 Oct 2023 14:05:42 +0200 Subject: [PATCH 2/6] Update device-allowednetworks.rst --- advanced/device-allowednetworks.rst | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/advanced/device-allowednetworks.rst b/advanced/device-allowednetworks.rst index f5136fc33..e2c91cde8 100644 --- a/advanced/device-allowednetworks.rst +++ b/advanced/device-allowednetworks.rst @@ -4,15 +4,23 @@ allowedNetwork ============== ``allowedNetwork`` is an advanced device setting that affects connection -handling. The default is for this setting to be empty, indicating that there -is no restriction on the allowed networks for a device. +handling. The default is for this setting is the XML node is not present, +indicating that there is no restriction on the allowed networks for a device. -By setting this to a comma separated list of networks, connections to the +By setting this to a list of networks, connections to the given device will be limited to those networks. The networks refer to the address of the *remote* device, not the network that the local device is presently on. -Given a value of ``192.168.0.0/16, 172.16.0.0/12, 2001:db8::/32`` Syncthing will: +Given a list of: +`` + + 192.168.0.0/16 + 172.16.0.0/12 + 2001:db8::/32 + + +Syncthing will: - Allow connections from the device from addresses in the specified networks. From 9e981b8a18d60f6bfce6ad4d85e09e59da855419 Mon Sep 17 00:00:00 2001 From: Catfriend1 <16361913+Catfriend1@users.noreply.github.com> Date: Sun, 15 Oct 2023 14:06:15 +0200 Subject: [PATCH 3/6] Update device-allowednetworks.rst --- advanced/device-allowednetworks.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/advanced/device-allowednetworks.rst b/advanced/device-allowednetworks.rst index e2c91cde8..e165edd4f 100644 --- a/advanced/device-allowednetworks.rst +++ b/advanced/device-allowednetworks.rst @@ -15,10 +15,15 @@ presently on. Given a list of: `` + 192.168.0.0/16 + 172.16.0.0/12 + 2001:db8::/32 + +`` Syncthing will: From 1cc1bbbf90b0a70d2aa24ab25642b172e98d2ab8 Mon Sep 17 00:00:00 2001 From: Catfriend1 <16361913+Catfriend1@users.noreply.github.com> Date: Sun, 15 Oct 2023 14:06:36 +0200 Subject: [PATCH 4/6] Update device-allowednetworks.rst --- advanced/device-allowednetworks.rst | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/advanced/device-allowednetworks.rst b/advanced/device-allowednetworks.rst index e165edd4f..ba137c75f 100644 --- a/advanced/device-allowednetworks.rst +++ b/advanced/device-allowednetworks.rst @@ -13,17 +13,13 @@ address of the *remote* device, not the network that the local device is presently on. Given a list of: -`` +``` - 192.168.0.0/16 - 172.16.0.0/12 - 2001:db8::/32 - -`` +``` Syncthing will: From 67539887548f2dd379bc146599753a633e8812a4 Mon Sep 17 00:00:00 2001 From: Catfriend1 <16361913+Catfriend1@users.noreply.github.com> Date: Sun, 15 Oct 2023 14:08:44 +0200 Subject: [PATCH 5/6] Update device-allowednetworks.rst --- advanced/device-allowednetworks.rst | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/advanced/device-allowednetworks.rst b/advanced/device-allowednetworks.rst index ba137c75f..c143f9044 100644 --- a/advanced/device-allowednetworks.rst +++ b/advanced/device-allowednetworks.rst @@ -13,13 +13,11 @@ address of the *remote* device, not the network that the local device is presently on. Given a list of: -``` - +``` 192.168.0.0/16 172.16.0.0/12 2001:db8::/32 - -``` +``` Syncthing will: From 776c9f369aa243b857ba0e7324021d2d1ed4b449 Mon Sep 17 00:00:00 2001 From: Catfriend1 <16361913+Catfriend1@users.noreply.github.com> Date: Sun, 15 Oct 2023 14:12:24 +0200 Subject: [PATCH 6/6] Update device-allowednetworks.rst --- advanced/device-allowednetworks.rst | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/advanced/device-allowednetworks.rst b/advanced/device-allowednetworks.rst index c143f9044..58bc760dc 100644 --- a/advanced/device-allowednetworks.rst +++ b/advanced/device-allowednetworks.rst @@ -13,11 +13,13 @@ address of the *remote* device, not the network that the local device is presently on. Given a list of: -``` - 192.168.0.0/16 - 172.16.0.0/12 - 2001:db8::/32 -``` + +192.168.0.0/16 + +172.16.0.0/12 + +2001:db8::/32 + Syncthing will: