4 ms·
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 I
by LaputanMachine 3y 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/ https://www.axllent.org/docs/ssh-geoip/
- oriettaxx 3y agothanks!
- nubinetwork 3y agoPeople still use TCP wrappers? I thought that went out of style 20 years ago.