top | item 36175012

(no title)

LaputanMachine | 2 years 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/

discuss

order

nubinetwork|2 years ago

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