Comment 6 for bug 837954

Revision history for this message
Zsolt Lauter (lauterzsolti) wrote :

It doesn't start automatically on 15.04 with the following options:

/etc/default/knockd:
START_KNOCKD=1
KNOCKD_OPTS="-i wlan0"

/etc/knockd.conf:
[options]
 logfile = /var/log/knockd.log

[SSH]
sequence = 6666:tcp,7777:udp,8888:tcp
seq_timeout = 5
start_command = /usr/sbin/ufw allow from %IP% to any port 22
tcpflags = syn
cmd_timeout = 10
stop_command = /usr/sbin/ufw delete allow from %IP% to any port 22

systemctl status knockd.service tells it's "active (exited)".