diff options
author | Susant Sahani <ssahani@gmail.com> | 2018-11-27 10:58:54 +0530 |
---|---|---|
committer | Susant Sahani <ssahani@gmail.com> | 2018-11-28 20:06:28 +0530 |
commit | 926062f08345c02d360414feae58c964de2b6415 (patch) | |
tree | 010ab395d80fa2c7cc092fd87428fd9c4769c684 /man | |
parent | missing.h: remove duplicate definition of 'struct ethtool_link_settings' (diff) | |
download | systemd-926062f08345c02d360414feae58c964de2b6415.tar.gz systemd-926062f08345c02d360414feae58c964de2b6415.tar.bz2 systemd-926062f08345c02d360414feae58c964de2b6415.zip |
networkd: add support to configure ip rule port range and protocol.
Please see:
iprule: support for ip_proto, sport and dport match options
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=f686f764682745daf6a93b0a6330ba42a961f858
Closes 10622
Diffstat (limited to 'man')
-rw-r--r-- | man/systemd.network.xml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/man/systemd.network.xml b/man/systemd.network.xml index 1bffedd00..1b6a6d44d 100644 --- a/man/systemd.network.xml +++ b/man/systemd.network.xml @@ -992,6 +992,27 @@ <para>Specifies the outgoing device to match. The outgoing interface is only available for packets originating from local sockets that are bound to a device.</para> </listitem> </varlistentry> + <varlistentry> + <term><varname>SourcePort=</varname></term> + <listitem> + <para>Specifies the source IP port or IP port range match in forwarding information base (FIB) rules. + A port range is specified by the lower and upper port separated by a dash. Defaults to unset.</para> + </listitem> + </varlistentry> + <varlistentry> + <term><varname>DestinationPort=</varname></term> + <listitem> + <para>Specifies the destination IP port or IP port range match in forwarding information base (FIB) rules. + A port range is specified by the lower and upper port separated by a dash. Defaults to unset.</para> + </listitem> + </varlistentry> + <varlistentry> + <term><varname>Protocol=</varname></term> + <listitem> + <para>Specifies the protocol to match in forwarding information base (FIB) rules. Accepted values are tcp, udp and sctp. + Defaults to unset.</para> + </listitem> + </varlistentry> </variablelist> </refsect1> |