IP Geo Blocking

Hello,

I am looking to integrate into a GUI an IP geo-blocking option.

Using an image like above in the GUI, an end user could click on the country and/or countries they would like to block traffic from.

Recognise there are some challenges with IPV6 and the use of VPN's.

Is anyone aware of packages they may have this functionality or suggestions on best way to implement.

1 Like

you can use iptgeoip in version v21
it's not realy GUI tho
I use this & it works well for limiting access incoming & out
I have blocked devices via MAC addresses they can't access RU or CN as an example
with both ipv6 & ipv4
not compatible with v22 with the new firewall as I know of yet tho

1 Like

could probably use the baniP package for this, with an ipset for each region and/or country,
but it won't be as pretty as a world map.

unfortunately I think banip have the same issue as the solution proposed by @Lucky1, it's
not 100% ready for 22.03, yet.

1 Like

yes you can see my post or i speak to same thing