Block List of Ip Prefixes

I have a list of IP prefixes which I need to block on my site:
Here is a small sample:

I have looked at /admin/logs/screened_ip_addresses but there doesn’t seem to be any way to bulk add IP prefixes.

Is there any way I can do this?

Generally: such blocks should do via iptables and not let those reach the app in the first place. That is quite trivial job.

But the damn docker does everything so difficult. AFAIK docker kind of bypasses iptables and thats why it just doesn’t matter what we do on server lever. But could ./launcher enter app and then magic of iptables work?

1 Like