formula-postfix/postfix/iptables-input.sls

25 lines
378 B
Plaintext
Raw Normal View History

2014-04-23 15:50:54 -04:00
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