add inbound iptables rule
This commit is contained in:
parent
58012cdc35
commit
102e666a35
24
postfix/iptables-input.sls
Normal file
24
postfix/iptables-input.sls
Normal file
@ -0,0 +1,24 @@
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user