This is neat. Modern take and very pragmatic.
Modern take would be to simply not open anything to the outside world - except WireGuard (TailScale or such). From there everything is either considered "localhost" or a local network. You can setup one or two central boxes (actual home lab "server" where you already have HTTP based services, and a raspberry pi zero 2 for backup) with TailScale. With remote devices (including phones) in same tailscale network - you c…
Securing a Linux Server
21–27 of 27 posts
Re: Securing a Linux Server
#22Include many more things specifically around ssh that you can do outside of fail2ban, also things that are requirements for the above….
These posts are good but slightly miss a lot of security practices that are “standard”. As always the best security is not allowing the system to be connected to anything. But in the event that you have to have a system with such availability, it’s always best to introduce at least CIS foundations and whatever you see fit for security. Just my .02..
Re: Securing a Linux Server
#23Re: Securing a Linux Server
#24After following this guide, all requests to my website time out, so I guess it's secure!
Re: Securing a Linux Server
#25Is there any point in Fail2ban if you're using keys and have disabled passwords? I guess defense in depth and all that
Re: Securing a Linux Server
#26There are a few other posts on HN with the same title. Some things to also consider that I had not seen mentioned: PCI CIS Etc… Include many more things specifically around ssh that you can do outside of fail2ban, also things that are requirements for the above…. These posts are good but slightly miss a lot of security practices that are “standard”. As always the best security is not allowing the system to be connect…
Re: Securing a Linux Server
#27This is neat. Modern take and very pragmatic.
Modern take would be to simply not open anything to the outside world - except WireGuard (TailScale or such). From there everything is either considered "localhost" or a local network. You can setup one or two central boxes (actual home lab "server" where you already have HTTP based services, and a raspberry pi zero 2 for backup) with TailScale. With remote devices (including phones) in same tailscale network - you c…