diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-03-14 22:22:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-14 22:22:25 +0200 |
commit | 7f0eb0b029c927e4b7b0003c934f682be9b36380 (patch) | |
tree | eecad127b99f640b5e2dd512e1ad51ac15d21c10 /interface-definitions | |
parent | c5ee06af8cb0b4485d08a2cf1d1e338c74b3fd85 (diff) | |
parent | 80bdd7f93430769ea5cda32d1925dfcd43df5107 (diff) | |
download | vyos-1x-7f0eb0b029c927e4b7b0003c934f682be9b36380.tar.gz vyos-1x-7f0eb0b029c927e4b7b0003c934f682be9b36380.zip |
Merge pull request #1890 from nicolas-fort/T5055
T5055: NAT: extend packet-type to NAT
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/include/nat-rule.xml.i | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/interface-definitions/include/nat-rule.xml.i b/interface-definitions/include/nat-rule.xml.i index 8f2029388..7b3b8804e 100644 --- a/interface-definitions/include/nat-rule.xml.i +++ b/interface-definitions/include/nat-rule.xml.i @@ -31,6 +31,33 @@ <valueless/> </properties> </leafNode> + <leafNode name="packet-type"> + <properties> + <help>Packet type</help> + <completionHelp> + <list>broadcast host multicast other</list> + </completionHelp> + <valueHelp> + <format>broadcast</format> + <description>Match broadcast packet type</description> + </valueHelp> + <valueHelp> + <format>host</format> + <description>Match host packet type, addressed to local host</description> + </valueHelp> + <valueHelp> + <format>multicast</format> + <description>Match multicast packet type</description> + </valueHelp> + <valueHelp> + <format>other</format> + <description>Match packet addressed to another host</description> + </valueHelp> + <constraint> + <regex>(broadcast|host|multicast|other)</regex> + </constraint> + </properties> + </leafNode> <leafNode name="protocol"> <properties> <help>Protocol to NAT</help> |