Remote access to a Linux box?

Fail2Ban is a godsend.

I have SSH on a non standard port on my Dedicated server and only open to shortlisted IPs, but Fail2Ban blocks at least 3-5 different IP addresses a day targeting Dovecote on my server. 3 failed login attempts results in a 2 hour IP blacklist with email alerts going that are then sent straight to a Fail2Ban folder in my email via procmail I then check that folder once or twice a day and permanently add anything into Fail2Ban that appears more than a couple of times in a short period of time
 
Massive bump to this one to say that I've managed to do this now. It wasn't quite as straightforward as I thought because of the network topography on site. Hanging off the Netgear was a Draytek using the Netgear internet connection for the WAN and then a separate subnet for the local box I needed access to.

A quick visit to site today, added a NAT from WAN to LAN for the appropriate port and I'm in via SSH.
 
Back
Top Bottom