ssh secure, knockd, email (alpha)

This commit is contained in:
2019-04-15 19:27:36 +02:00
parent fe09070a3a
commit 914f72e500
11 changed files with 166 additions and 8 deletions
+12
View File
@@ -0,0 +1,12 @@
[options]
logfile = /var/log/knockd.log
[SSH]
sequence = 7000,8000,9000
seq_timeout = 5
# start_command = /usr/sbin/iptables -A INPUT -p tcp --dport 22 -j ACCEPT
start_command = ufw allow ssh
tcpflags = syn
cmd_timeout = 600
# stop_command = /usr/sbin/iptables -D INPUT -p tcp --dport 22 -j ACCEPT
stop_command = ufw delete allow ssh