Webmaster Sun Login
Not a member yet? Sign up

How to block traffic from selected country

  • HOME
  • FORUMS
  • BLOGS
  • MARKETPLACE
  • ADVERTISING
  • SPECIAL OFFERS
  • WEB HOSTING
  • QUICK MENU
  • REGISTER HERE - Join us for FREE
Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2016
    Posts
    34
    Thanks
    0
    Thanked 1 Time in 1 Post
    Thumbs Up/Down
    Received: 4/0
    Given: 1/0

    How to block traffic from selected country

    Hi everyone
    How to block traffic from selected country?

  2. #2
    Join Date
    Jun 2013
    Posts
    525
    Thanks
    254
    Thanked 124 Times in 96 Posts
    Thumbs Up/Down
    Received: 69/0
    Given: 308/0
    You can block traffic from selected country by block IP addresses (or IP ranges) from that country.

    Read more on this guide

    http://forumweb.hosting/13837-how-to-block-visitors-from-specific-countries.html

    Hope that helps!

  3. #3
    Join Date
    Dec 2016
    Posts
    34
    Thanks
    0
    Thanked 1 Time in 1 Post
    Thumbs Up/Down
    Received: 4/0
    Given: 1/0
    I think, this is very helpful, especially

    ip2location.com/blockvisitorsbycountry.aspx

    Thank you Alex

  4. #4
    Join Date
    Nov 2016
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thumbs Up/Down
    Received: 1/0
    Given: 0/0
    You can block it through CSF firewall setting in cPanel/WHM panel as follows below:
    - Login to WHM panel, locate and select “ConfigServer Security & Firewall” under the plugins section
    - Click on “Firewall Configuration” button
    - on the Firewall Configuration, scroll down or search Country Code List and Settings section
    - Use the CC_DENY field to block by country code
    EX: CC_DENY = "US”
    - Scroll to the bottom of the Firewall Configuration page and click on the Change button. On the next screen, click the Restart csf+lfd button to restart the firewall with the new settings.

  5. #5
    Join Date
    Nov 2016
    Location
    CA
    Posts
    25
    Thanks
    0
    Thanked 3 Times in 2 Posts
    Thumbs Up/Down
    Received: 5/0
    Given: 1/0
    To block traffic from specific country, you can apply filter on geopgraphy.

    For example you want to block russian traffic from Google analytics, follow the below stepes:


    Filter Type: Custom filter > Include

    Filter Field: Country

    Filter Pattern: Russia

Newer Threads

  1. John Ryan
    Make Money on jvzoo
    By John Ryan in forum Make Money Online
    Elisabeth Kuhn
    Replies: 1 | Views: 282
    Last post by Elisabeth Kuhn, 12-29-2016, 11:43 PM
  2. YacaZG
    kim16
    Replies: 6 | Views: 229
    Last post by kim16, 01-13-2017, 07:48 AM
  3. Webynk
    sushmanayan82
    Replies: 17 | Views: 559
    Last post by sushmanayan82, 01-11-2017, 01:39 PM
  4. YacaZG
    YacaZG
    Replies: 6 | Views: 416
    Last post by YacaZG, 12-06-2016, 06:35 AM
  5. EpicGlobalWeb
    FoxMetrics
    Replies: 2 | Views: 253
    Last post by FoxMetrics, 01-03-2017, 02:40 PM

Older Threads

  1. John Ryan
    SEO my site
    By John Ryan in forum Search Engine Optimization
    backlinkfy
    Replies: 21 | Views: 1194
    Last post by backlinkfy, 12-22-2016, 11:45 PM
  2. YacaZG
    Audience Network
    By YacaZG in forum Facebook
    YacaZG
    Replies: 4 | Views: 331
    Last post by YacaZG, 12-09-2016, 06:40 AM
  3. YacaZG
    YacaZG
    Replies: 4 | Views: 290
    Last post by YacaZG, 12-03-2016, 06:21 PM
  4. YacaZG
    ngoctam699
    Replies: 9 | Views: 381
    Last post by ngoctam699, 12-04-2016, 03:16 AM

Latest Threads

  1. AviarHost
    AviarHost
    Replies: 2 | Views: 33
    Last post by AviarHost, Today, 03:48 PM
  2. Justin Philipps
    Different Domains Hosted on Wordpress
    By Justin Philipps in forum Google
    SEOPub
    Replies: 1 | Views: 55
    Last post by SEOPub, Today, 01:10 PM
  3. Dani Friedman
    Rob Whisonant
    Replies: 4 | Views: 106
    Last post by Rob Whisonant, Today, 05:53 PM
  4. 5starmusic
    Marc van Leeuwen
    Replies: 1 | Views: 41
    Last post by Marc van Leeuwen, Yesterday, 02:52 PM

Similar Threads

  1. Harry P
    Do you block spiders?
    By Harry P in forum Web Hosting
    postcd
    Replies: 4 | Views: 663
    Last post by postcd, 02-14-2016, 01:19 PM
  2. Tshepo
    hostslim
    Replies: 2 | Views: 652
    Last post by hostslim, 11-19-2015, 11:02 AM
  3. JoanHumphreys
    TheLifeStyleMentor
    Replies: 1 | Views: 618
    Last post by TheLifeStyleMentor, 06-18-2015, 11:48 AM
  4. success druggy
    aliblogger
    Replies: 10 | Views: 1768
    Last post by aliblogger, 12-24-2014, 06:58 PM
  5. vaneetagoswami
    Dopani
    Replies: 1 | Views: 1236
    Last post by Dopani, 12-12-2014, 03:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Internet Marketing Forum

Webmaster Sun is a forum where you’ll find in-depth discussions and resources to help you succeed on the web whether you are new or experienced. You’ll find it all here. With topics ranging from internet marketing, search engine optimization, social networking, make money online, web hosting, affiliate marketing as well as hands-on technical support for web design, programming and more. We are a growing community of like-minded people that is keen to help and support each other with ambitions and online endeavors. Learn and grow, make friends and contacts for life.

Come Hang Out With Us

    Facebook Twitter Webmaster Forum Google+

    Webmaster Sun Logo
Copyright ©2012 - 2017, WebmasterSun.com. All rights reserved. Internet marketing forum for internet marketers, webmasters, web hosting providers, designers and affiliate marketers.

Welcome to Webmaster Sun

The World's Number 1 Webmaster Community, SEO and Marketplace

Log in!

Continue with Facebook
Continue With Email. By signing up you indicate that you have read and agree to the Terms of Service and Privacy Policy.

Sign in Manually

Need an account? Sign up now!