Last active
July 26, 2020 16:34
-
-
Save atdt/7c37db972e9ceb40f486c605c5df988e to your computer and use it in GitHub Desktop.
knockd.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[options] | |
UseSyslog | |
[ssh] | |
sequence = 1000,2000,3000 # change me | |
seq_timeout = 5 | |
start_command = ufw insert 1 allow from %IP% to any port 22 | |
tcpflags = syn | |
cmd_timeout = 10 | |
stop_command = ufw delete allow from %IP% to any port 22 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment