blob: 7154ad646f78f748244db6326f5482fb6b88cdb7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
diff -Naur knock-0.3/knockd.conf knock-0.3_/knockd.conf
--- knock-0.3/knockd.conf 2004-05-07 00:56:03.000000000 +0200
+++ knock-0.3_/knockd.conf 2004-08-27 13:23:51.103555768 +0200
@@ -4,12 +4,12 @@
[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
|