Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo: allowedNetworks > allowedNetwork #832

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 17 additions & 8 deletions advanced/device-allowednetworks.rst
Original file line number Diff line number Diff line change
@@ -1,18 +1,27 @@
.. _allowed-networks:
.. _allowed-network:

allowedNetworks
===============
allowedNetwork
==============

``allowedNetworks`` 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.
``allowedNetwork`` is an advanced device setting that affects connection
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:

<allowedNetwork>192.168.0.0/16</allowedNetwork>

<allowedNetwork>172.16.0.0/12</allowedNetwork>

<allowedNetwork>2001:db8::/32</allowedNetwork>


Syncthing will:

- Allow connections from the device from addresses in the specified
networks.
Expand Down
Loading