• Hey Guest, we're evolving the future of TeaSpeak.
    You're invited to join the discussion here!

Server Cloudflare Country blocking

heartles39

Fanatic member
Hello

Hello
Is it possible to enter Firewall rules via Cloudflare and block countries connecting to TeaSpeak? If so, how do I do it? for DNS
 

heartles39

Fanatic member
you can block countrys directly on your server

How can I solve it?

root@ubuntu:/home/xtables-addons-2.13# make
make: *** No targets specified and no makefile found. Stop.
root@ubuntu:/home/xtables-addons-2.13# make install
make: *** No rule to make target 'install'. Stop.
root@ubuntu:/home/xtables-addons-2.13#

root@ubuntu:/home/xtables-addons-2.13/geoip# ./xt_geoip_build GeoIPCountryWhois.csv./xt_geoip_build GeoIPCountryWhois.csv
Can't locate Text/CSV_XS.pm in @INC (you may need to install the Text::CSV_XS module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at ./xt_geoip_build line 8.
BEGIN failed--compilation aborted at ./xt_geoip_build line 8.

root@ubuntu:/home/xtables-addons-2.13/geoip# mkdir -p /usr/share/xt_geoip/
root@ubuntu:/home/xtables-addons-2.13/geoip# cp -r {BE,LE} /usr/share/xt_geoip/
cp: cannot stat 'BE': No such file or directory
cp: cannot stat 'LE': No such file or directory
 

farhadhelix

TeaFanatic
cloudflare only works for specific ports . like 80 443 2087 2095 and.. famous ports actually

and it does not even have UDP port supported . so NO

you must block ip for those country in your server . or have a firewall like mikrotik in front of your server and do some address listing and block countries ip range by scripts in 2 minute