fixed knocd.conf, added etckeeper to misc
This commit is contained in:
parent
ec941fac00
commit
3b75438c05
@ -4,8 +4,8 @@
|
|||||||
[SSH]
|
[SSH]
|
||||||
sequence = 7000,8000,9000
|
sequence = 7000,8000,9000
|
||||||
seq_timeout = 5
|
seq_timeout = 5
|
||||||
# TODO do not limit port 22 to the ip as it don't work with 4G connection
|
# TODO do not limit port 22 to the ip as it don't work with 4G connection
|
||||||
start_command = ufw allow from %IP% to any port 22
|
start_command = ufw insert 1 allow from %IP% to any port 22
|
||||||
tcpflags = syn
|
tcpflags = syn
|
||||||
cmd_timeout = 10
|
cmd_timeout = 10
|
||||||
stop_command = ufw delete allow from %IP% to any port 22
|
stop_command = ufw delete allow from %IP% to any port 22
|
||||||
|
@ -20,6 +20,6 @@ sed -i "s/^# en_GB.UTF-8/en_GB.UTF-8/g" /etc/locale.gen
|
|||||||
locale-gen
|
locale-gen
|
||||||
apt-get --yes --force-yes install ntp
|
apt-get --yes --force-yes install ntp
|
||||||
dpkg-reconfigure tzdata
|
dpkg-reconfigure tzdata
|
||||||
apt-get --yes --force-yes install needrestart
|
apt-get --yes --force-yes install etckeeper needrestart
|
||||||
|
|
||||||
echo -e "\033[92;1mMisc done \033[Om"
|
echo -e "\033[92;1mMisc done \033[Om"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user