Skip to main content

Blocking countries : The big Google Ads issue

Comments

3 comments

  • cPRex Jurassic Moderator
    Hey there! Thanks for posting that, as that is good information to have about the Google Ads tools. I don't have anything on my end that would restrict access to certain resources based on country codes - it is either an "all or nothing" system when blocking countries. Wordfence is a specific tool that may have this option, but cPanel itself doesn't have something like that. I'd recommend making a feature request to see if that is something we could implement in the future.
    0
  • nlaruelle
    Thanks cPRex ! I was thinking it is an important feedback to share here for people lost in Google about this recurring issue. Can make hosting provider searching a lot why customers ads cannot be approved. For my Countries Grey List feature request" Am I wrong ? After looking further, the cPHulk Country Blacklist seems to work as expected : > Select which countries you want to block, click the gear icon on the right of the list, and select the Blacklist Selected Countries option. Now, users from the selected countries will not be able to log into mail, FTP, cPanel. Source : Plot Host It was obvious ?? I was so confused with my Google Ads issue and my both firewall software, I forget cPHulk is for on Brute Force logins. I am just not 100% sure about wp-login.php, because I am used to ask final user to move their wp-login.php page somewhere else. What 90% of customers are doing (lucky). So, it seems I don't have many "failed WordPress login" in my cPHulk History log. Anyway, I restore my 13 countries in the cPHulk Blacklist only (in Country Management) and it seems to work as excepted. Thanks and see you later :-)
    0
  • ZenHostingTravis
    Rather than move the wp-login.php page somewhere else, you could block attacks using CSF (see below): # XMLRPC if (($globlogs{CUSTOM2_LOG}{$lgfile}) and ($line =~ /(\S+).*] "\w*(?:GET|POST) \/xmlrpc\.php.*" /)) { return ("your ban comment",$1,"XMLRPCorWHATEVER","3","80,443,21,25,22,23","1"); } # WP-LOGINS if (($globlogs{CUSTOM2_LOG}{$lgfile}) and ($line =~ /(\S+).*] "\w*(?:GET|POST) \/wp-login\.php.*" /)) { return ("your ban comment",$1,"WPLOGINorWHATEVER","3","80,443,21,25,22,23","1"); } Sourced from: Blocking Wordpress Login and xmlprc attacks with LFD - ConfigServer Community Forum
    0

Please sign in to leave a comment.