diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-11-29 08:36:42 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-11-30 20:00:11 +0100 |
commit | e90843445890586912ec366cf017f01483c7fdd6 (patch) | |
tree | defb70cf0c69f7519d0abb2d3483348fa32ebdaa /man/systemd.netdev.xml | |
parent | network: route: expose route_hash_ops (diff) | |
download | systemd-e90843445890586912ec366cf017f01483c7fdd6.tar.xz systemd-e90843445890586912ec366cf017f01483c7fdd6.zip |
network: wireguard: automatically configure routes to addresses specified in AllowedIPs=
Closes #14176.
Diffstat (limited to 'man/systemd.netdev.xml')
-rw-r--r-- | man/systemd.netdev.xml | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/man/systemd.netdev.xml b/man/systemd.netdev.xml index bd493a8c53..e4e7e611e7 100644 --- a/man/systemd.netdev.xml +++ b/man/systemd.netdev.xml @@ -1569,6 +1569,29 @@ <para>Sets a firewall mark on outgoing WireGuard packets from this interface. Takes a number between 1 and 4294967295.</para> </listitem> </varlistentry> + <varlistentry> + <term><varname>RouteTable=</varname></term> + <listitem> + <para>The table identifier for the routes to the addresses specified in the + <varname>AllowedIPs=</varname>. Takes the special value <literal>off</literal>, one of the + predefined names <literal>default</literal>, <literal>main</literal>, and + <literal>local</literal>, names defined in <varname>RouteTable=</varname> in + <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 + specified in the [WireGuardPeer] section.</para> + </listitem> + </varlistentry> + <varlistentry> + <term><varname>RouteMetric=</varname></term> + <listitem> + <para>The priority of the routes to the addresses specified in the + <varname>AllowedIPs=</varname>. Takes an integer in the range 0…4294967295. Defaults to 0 + for IPv4 addresses, and 1024 for IPv6 addresses. This setting will be ignored when the same + setting is specified in the [WireGuardPeer] section.</para> + </listitem> + </varlistentry> </variablelist> </refsect1> @@ -1653,6 +1676,27 @@ Most users will not need this.</para> </listitem> </varlistentry> + <varlistentry> + <term><varname>RouteTable=</varname></term> + <listitem> + <para>The table identifier for the routes to the addresses specified in the + <varname>AllowedIPs=</varname>. Takes the special value <literal>off</literal>, one of the + predefined names <literal>default</literal>, <literal>main</literal>, and + <literal>local</literal>, names defined in <varname>RouteTable=</varname> in + <citerefentry><refentrytitle>networkd.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>, + or a number in the range 1…4294967295. Defaults to unset, and the value specified in the + same setting in the [WireGuard] section will be used.</para> + </listitem> + </varlistentry> + <varlistentry> + <term><varname>RouteMetric=</varname></term> + <listitem> + <para>The priority of the routes to the addresses specified in the + <varname>AllowedIPs=</varname>. Takes an integer in the range 0…4294967295. Defaults to + unset, and the value specified in the same setting in the [WireGuard] section will be used. + </para> + </listitem> + </varlistentry> </variablelist> </refsect1> |