Import firewall role from network repo
Move, actually.
This commit is contained in:
parent
88061d97b2
commit
754c3da31f
21 changed files with 801 additions and 1 deletions
15
roles/firewall/files/sshd_config.friwall
Normal file
15
roles/firewall/files/sshd_config.friwall
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# This is used by sshd in default VRF to receive configuration updates. Lock
|
||||
# down to only allow executing the update script.
|
||||
|
||||
# Only allow pubkey auth.
|
||||
KbdInteractiveAuthentication no
|
||||
PasswordAuthentication no
|
||||
PermitRootLogin prohibit-password
|
||||
|
||||
# Disable what we can.
|
||||
AllowTcpForwarding no
|
||||
GatewayPorts no
|
||||
X11Forwarding no
|
||||
|
||||
# And then disable everything else.
|
||||
ForceCommand /usr/local/bin/update
|
||||
Loading…
Add table
Add a link
Reference in a new issue