When I logged in the VPS I added this rule to iptables
$ sudo iptables -A INPUT -s “ip_address” -j DROP
It seems to work when I make $ ping my_forum.com, i.e., the server drops the request
Though, on the browser, when I access http://my_forum.com it still works
Shall I enter into docker and run iptables within it? Though when I do it, installing iptables, I can’t run it and after updating Discourse, iptables is erased.
I tried to block within Admin. panel and it does not work either.