Репозитории ALT
Группа :: Сети/Удалённый доступ
Пакет: knock
Главная Изменения Спек Патчи Исходники Загрузить Gear Bugs and FR Repocop
[options]
UseSyslog
[opencloseSSH]
sequence = 2222:udp,3333:tcp,4444:udp
seq_timeout = 15
tcpflags = syn,ack
start_command = /sbin/iptables -A INPUT -s %IP% -p tcp --dport ssh -j ACCEPT
cmd_timeout = 10
stop_command = /sbin/iptables -D INPUT -s %IP% -p tcp --dport ssh -j ACCEPT