add inbound iptables rule

This commit is contained in:
David J. M. Karlsen 2014-04-23 21:50:54 +02:00
parent 58012cdc35
commit 102e666a35

View 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