mirror of
https://salsa.debian.org/debian/knockd
synced 2025-12-23 04:55:14 +00:00
22 lines
682 B
Diff
22 lines
682 B
Diff
--- knockd-0.5/knockd.conf 2004-05-07 00:56:03.000000000 +0200
|
|
+++ knockd-0.5.new/knockd.conf 2007-12-09 20:50:39.000000000 +0100
|
|
@@ -1,15 +1,15 @@
|
|
[options]
|
|
- logfile = /var/log/knockd.log
|
|
+ UseSyslog
|
|
|
|
[openSSH]
|
|
sequence = 7000,8000,9000
|
|
seq_timeout = 5
|
|
- command = /usr/sbin/iptables -A INPUT -s %IP% -p tcp --dport 22 -j ACCEPT
|
|
+ command = /sbin/iptables -A INPUT -s %IP% -p tcp --dport 22 -j ACCEPT
|
|
tcpflags = syn
|
|
|
|
[closeSSH]
|
|
sequence = 9000,8000,7000
|
|
seq_timeout = 5
|
|
- command = /usr/sbin/iptables -D INPUT -s %IP% -p tcp --dport 22 -j ACCEPT
|
|
+ command = /sbin/iptables -D INPUT -s %IP% -p tcp --dport 22 -j ACCEPT
|
|
tcpflags = syn
|
|
|