Just want to implement geoblocking(country wise) for my home hosting computer. I am using dietpi for my home machine with many applications. I have already implement letenscrypt, fail2ban for my machine. It would be very good if I restrict the assess to my application with geoblocking. I know in docker there is way to use maxmind database & restricted access based on IP location (country, city). So just want expert advice. Is it possible to install something on dietpi which filter/block the incoming traffic based on geo IP location. thanks
This should be possible using iptables https://www.reddit.com/r/debian/comments/d6mnsa/firewall_with_geoip_capability_on_debian_10/