mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 13:46:59 +01:00
Custom harden-linux role
This commit is contained in:
parent
5d81de3cf9
commit
bc0f0c4894
19 changed files with 1293 additions and 37 deletions
|
|
@ -1,13 +1,13 @@
|
|||
---
|
||||
ansible_user: deploy
|
||||
ansible_become: true
|
||||
ansible_port: 2242
|
||||
ansible_port: 22
|
||||
|
||||
harden_linux_sshd_settings_user:
|
||||
"^Port ": "Port 2242"
|
||||
"^Port ": "Port 22"
|
||||
harden_linux_ufw_rules:
|
||||
- rule: "allow"
|
||||
to_port: "2242"
|
||||
to_port: "22"
|
||||
protocol: "tcp"
|
||||
- rule: "allow"
|
||||
to_port: "7000"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue