F
F
Friend2016-12-05 12:31:55
Network administration
Friend, 2016-12-05 12:31:55

How to protect VPN server from hacking?

I rented a server not so long ago and launched the site, installed fail2ban and configured configurations
[DEFAULT]
bantime = 3600
findtime = 1800
maxretry = 1
# SSH jail
[sshd]
enabled = true
maxretry = 1
bantime = 108000
findtime = 36000
# ddos ​​SSH jail
[sshd -ddos]
enabled = true
maxretry = 1
bantime = 108000
But hacking attempts did not decrease from this.
What else can be added to the fail2ban configurations and what else can you recommend for protection?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
Host-Eiweb, 2016-12-05
@Host-Eiweb

From the minimal gentleman's set:
Change port 22
in sshd_config check the lines (make changes if necessary)
Properly configure iptables
And so on ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question