IP Filtter, GeoIP blocking (country based)

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
mail2rst
Posts: 135
Joined: Fri Apr 13, 2018 4:53 pm

IP Filtter, GeoIP blocking (country based)

Post by mail2rst »

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
User avatar
Joulinar
Posts: 5115
Joined: Sat Nov 16, 2019 12:49 am

Re: IP Filtter, GeoIP blocking (country based)

Post by Joulinar »

This should be possible using iptables https://www.reddit.com/r/debian/comment ... debian_10/
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply