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:
parent
1972c41b74
commit
8702781e3f
@ -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
|
||||
|
12
openssh/iptables-input.sls
Normal file
12
openssh/iptables-input.sls
Normal 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user