0
0
mirror of https://github.com/saltstack-formulas/openssh-formula.git synced 2025-04-20 19:52:07 +02:00

move out in separate state file

This commit is contained in:
David J. M. Karlsen 2014-04-24 08:00:25 +02:00
parent 1972c41b74
commit 8702781e3f
2 changed files with 12 additions and 10 deletions

View File

@ -8,13 +8,3 @@ openssh:
- name: {{ openssh.service }}
- require:
- pkg: {{ openssh.server }}
iptables.insert:
- table: filter
- chain: INPUT
- position: 1
- match: state
- connstate: NEW,ESTABLISHED
- dport: 22
- proto: tcp
- jump: ACCEPT
- save: True

View File

@ -0,0 +1,12 @@
sshd.iptables.input:
iptables.insert:
- table: filter
- chain: INPUT
- position: 1
- match: state
- connstate: NEW,ESTABLISHED
- dport: 22
- proto: tcp
- jump: ACCEPT
- save: True