formula-postfix/postfix/iptables-input.sls
2014-04-23 21:50:54 +02:00

24 lines
378 B
Text

smtp.input:
iptables.chain_present:
-
tcp:
iptables.insert:
- table: filter
- position: 1
- chain: smtp.input
- jump: ACCEPT
- match: state
- connstate: NEW,ESTABLISHED
- dport: 25
- proto: tcp
- save: True
filter:
iptables.insert:
- table: filter
- position: 1
- chain: INPUT
- jump: smtp.input
- save: True