Révision 09b07e56
Encapsulate port-related exprs in Nftables::Port
manifests/simplerule.pp | ||
---|---|---|
61 | 61 |
String $table = 'inet-filter', |
62 | 62 |
Enum['accept', 'continue', 'drop', 'queue', 'return'] $action = 'accept', |
63 | 63 |
Optional[String] $comment = undef, |
64 |
Optional[Variant[Array[Stdlib::Port, 1], Stdlib::Port, Pattern[/\d+-\d+/]]] $dport = undef,
|
|
64 |
Optional[Nftables::Port] $dport = undef,
|
|
65 | 65 |
Optional[Enum['tcp', 'tcp4', 'tcp6', 'udp', 'udp4', 'udp6']] $proto = undef, |
66 | 66 |
Optional[Variant[Stdlib::IP::Address::V6, Stdlib::IP::Address::V4, Pattern[/^@[-a-zA-Z0-9_]+$/]]] $daddr = undef, |
67 | 67 |
Enum['ip', 'ip6'] $set_type = 'ip6', |
68 |
Optional[Variant[Array[Stdlib::Port, 1], Stdlib::Port, Pattern[/\d+-\d+/]]] $sport = undef,
|
|
68 |
Optional[Nftables::Port] $sport = undef,
|
|
69 | 69 |
Optional[Variant[Stdlib::IP::Address::V6, Stdlib::IP::Address::V4, Pattern[/^@[-a-zA-Z0-9_]+$/]]] $saddr = undef, |
70 | 70 |
Boolean $counter = false, |
71 | 71 |
) { |
Formats disponibles : Unified diff