Block access to Cloudron by GeoIP
-
Hi all!
Brand new to the Cloudron sphere.I wanted to install a script that I often use on other servers to whitelist countries (https://github.com/friendly-bits/geoip-shell) except that since I installed it, my cloudron no longer has access to the store.
1 - In which country is the store located?
2 - Is there a way in Cloudron to whitelist or blacklist countries?
I only saw the IP solution.
Thank you all!
-
@lilian welcome here! Cloudron uses Docker which uses iptables directly and in a specific way. Manipulating iptables directly with other tools like ufw etc is not something that docker supports. So, we recommend not running such scripts to change the firewall. Cloudron's firewall is already quite secure - https://docs.cloudron.io/networking/#firewall
Currently, there is no way to block by GeoIP , I will move this to Feature Requests.
-
-
@girish Well, there‘s https://forum.cloudron.io/post/79889 and the following posts which works well! But yes, not built-in, which would be preferable m
-
@tgatellier I had to activate a Cloudflare DNS Proxy to achieve this on one Wordperss instance. Now I'm testing 8G Firewall suggested from @jagan . I think Cloudron should have some feature to achieve this ...