Révision c8894978
Use default
manifests/init.pp | ||
---|---|---|
121 | 121 |
|
122 | 122 |
# ip-nat-chain-PREROUTING |
123 | 123 |
nftables::rule{ |
124 |
default: |
|
125 |
table => 'ip-nat'; |
|
124 | 126 |
'PREROUTING-type': |
125 |
table => 'ip-nat', |
|
126 | 127 |
order => '01', |
127 | 128 |
content => 'type nat hook prerouting priority -100'; |
128 | 129 |
'PREROUTING-policy': |
129 |
table => 'ip-nat', |
|
130 | 130 |
order => '02', |
131 | 131 |
content => 'policy accept'; |
132 | 132 |
} |
133 | 133 |
|
134 | 134 |
# ip-nat-chain-POSTROUTING |
135 | 135 |
nftables::rule{ |
136 |
default: |
|
137 |
table => 'ip-nat'; |
|
136 | 138 |
'POSTROUTING-type': |
137 |
table => 'ip-nat', |
|
138 | 139 |
order => '01', |
139 | 140 |
content => 'type nat hook postrouting priority 100'; |
140 | 141 |
'POSTROUTING-policy': |
141 |
table => 'ip-nat', |
|
142 | 142 |
order => '02', |
143 | 143 |
content => 'policy accept'; |
144 | 144 |
} |
Formats disponibles : Unified diff