Advertisement
TheAtomicAss

knockd.conf

Apr 17th, 2015
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. [options]
  2. logfile = /var/log/knockd.log
  3. # interface = eth-intel
  4. interface = eth-realtek
  5.  
  6. [SSH]
  7. sequence = 52966,14256,22827,17238,45857,31846,45236,14444,29713,1305
  8. seq_timeout = 20
  9. start_command = /usr/bin/ufw allow from %IP% to any port 22
  10. tcpflags = syn
  11. stop_command = /usr/bin/ufw delete allow from %IP% to any port 22
  12.  
  13. [Nginx]
  14. sequence = 32596,33256,1123
  15. seq_timeout = 30
  16. start_command = /usr/bin/ufw allow from %IP% to any port 1935
  17. tcpflags = syn
  18. stop_command = /usr/bin/ufw delete allow from %IP% to any port 1935
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement