network: wireguard: do not add routes to AllowedIPs= by default

As setting such routes may break existing setups.

Closes #21964.
This commit is contained in:
Yu Watanabe
2022-01-16 19:18:23 +09:00
parent 8a592c6fc2
commit cfe1237f38
2 changed files with 3 additions and 9 deletions
+1 -1
View File
@@ -1581,7 +1581,7 @@
<citerefentry><refentrytitle>networkd.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
or a number in the range 1…4294967295. When <literal>off</literal> the routes to the
addresses specified in the <varname>AllowedIPs=</varname> setting will not be configured.
Defaults to <literal>main</literal>. This setting will be ignored when the same setting is
Defaults to <literal>off</literal>. This setting will be ignored when the same setting is
specified in the [WireGuardPeer] section.</para>
</listitem>
</varlistentry>