Révision df9a09bb
Fix nftables::rules::nfs3 syntax to work with nftables 0.9.0
manifests/rules/nfs3.pp | ||
---|---|---|
2 | 2 |
class nftables::rules::nfs3 { |
3 | 3 |
nftables::rule { |
4 | 4 |
'default_in-nfs3': |
5 |
content => 'meta l4proto { tcp, udp } th dport nfs accept comment "Accept NFS3"', |
|
5 |
# To support nftables >= 0.9.0, but < 0.9.3, `@th,16,16 2049` is used instead of `th dport nfs` |
|
6 |
content => 'meta l4proto { tcp, udp } @th,16,16 2049 accept comment "Accept NFS3"', |
|
6 | 7 |
} |
7 | 8 |
} |
Formats disponibles : Unified diff