L.P.H. van Belle
2022-Mar-11 16:01 UTC
[Samba] Not really samba, but handy.. Geo ip with ufw country blocker.
Totaly not samba related.. I create a geo IP filter that works with ufw. It catched the attacker IP adres, check it against in which country it coming from. And if its not allowed by the settings, it blocks the complete CIDR of that IP. This prevent that hackers that are in a CIDR are filling your firewall with lots entries. Have a look. https://raw.githubusercontent.com/thctlo/debian-scripts/master/geo-filter-ufw.sh Suggestions, comments, the good, the bad, the ugly.. Tell me.. Enjoy the weekend, Greetz, Louis