diff options
Diffstat (limited to 'types/actions.pp')
-rw-r--r-- | types/actions.pp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/types/actions.pp b/types/actions.pp new file mode 100644 index 0000000..49bfd2c --- /dev/null +++ b/types/actions.pp @@ -0,0 +1,6 @@ +# @summary a list of allowed actions for a rule +# As you can also *jump* to other chains, each chain-name is also a valid action/target +type Ferm::Actions = Variant[ + Enum['RETURN', 'ACCEPT', 'DROP', 'REJECT', 'NOTRACK', 'LOG', 'MARK', 'DNAT', 'SNAT', 'MASQUERADE', 'REDIRECT'], + String[1], +] |