From 926062f08345c02d360414feae58c964de2b6415 Mon Sep 17 00:00:00 2001 From: Susant Sahani Date: Tue, 27 Nov 2018 10:58:54 +0530 Subject: 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 --- man/systemd.network.xml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'man') 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 @@ Specifies the outgoing device to match. The outgoing interface is only available for packets originating from local sockets that are bound to a device. + + SourcePort= + + 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. + + + + DestinationPort= + + 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. + + + + Protocol= + + Specifies the protocol to match in forwarding information base (FIB) rules. Accepted values are tcp, udp and sctp. + Defaults to unset. + + -- cgit v1.2.3-65-gdbad