Hacker News new | ask | show | jobs
by LaputanMachine 1108 days ago
I use this setup [1] on my servers. IPs are mapped to countries using Maxmind's GeoLite2 database. Linux's Tcp Wrappers are configured to block access for all IPs that aren't in my country.

A custom fail2ban jail adds all IPs that get blocked by the Tcp Wrappers to the system's firewall.

[1]: https://www.axllent.org/docs/ssh-geoip/

2 comments

People still use TCP wrappers? I thought that went out of style 20 years ago.
thanks!