Results 1 to 10 of 14
-
28th Jan 2012, 01:30 AM #1OPMember
How to block USA ips?
How do you block all USA ip's on your vps?
Ruriko Reviewed by Ruriko on . How to block USA ips? How do you block all USA ip's on your vps? Rating: 5
-
28th Jan 2012, 01:37 AM #2Member
Wow not feeling the luv
-
28th Jan 2012, 01:42 AM #3MemberWebsite's:
Nerdy-Tutorials.com Mp3viddown.com Filmlab.eui am
Convert Youtube to MP3 + Download!! mp3viddown.com
-
28th Jan 2012, 01:48 AM #4BannedWebsite's:
CuraShare.Net CuraShare.Me CuraShare.InfoYou can find ready to use .htaccess files to block countries:
http://www.countryipblocks.net/count...s-deny-format/
-
28th Jan 2012, 01:50 AM #5OPMember
sorry I forgot to mention I use nginx as my webserver so I can't use .htaccess
-
28th Jan 2012, 02:54 AM #6Member
What's the point in blocking USA IP's?
If its to stop gov't and media reps from visiting your site there is no point. If they want to get to your site they will just use a proxy. You're blocking a lot of traffic by limiting yourself from USA.
anyways there are programs to convert htaccess to nginx rules
-
28th Jan 2012, 04:06 AM #7Member
I only know FreeBSD's pf can do it.
Install the port net-mgmt/netmask, and use the following command:
Code:netmask `wget -qO- http://ftp.apnic.net/stats/apnic/delegated-apnic-latest | awk -F'|' '/US\|ipv4/ {print $4":+"($5-1)}' > /etc/US_IP`
Code:table <USIP> persist file "/etc/US_IP" block in quick on $ext_if proto tcp from <USIP> to any port {80,443} label "block US IP"
In this example, it only blocks http and https incoming connections; I think it's enough.
I think iptables of Linux has a similar facility, but I don't learn too much about Linux's firewall.
-
28th Jan 2012, 04:15 AM #8Member
Those htaccess files could be converted to nginx pretty much easily, just adding a few lines would do.
Look up nginx's doc, http://wiki.nginx.org/HttpAccessModule
-
1st Feb 2012, 07:50 AM #9MemberWebsite's:
ultimatehostings.comYou can install CSF and use US in CC_DENY and it will block almost all the US IP's.
-
1st Feb 2012, 08:01 AM #10MemberWebsite's:
eotips.comare u suing wp ?
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Does KWWH block US IP?
By jiefangjun in forum Feedback and SuggestionsReplies: 45Last Post: 12th Jul 2012, 06:41 AM -
help to block is?
By jpeps in forum WordpressReplies: 2Last Post: 29th Apr 2012, 01:36 AM -
block 208.86.198.xx
By shahpar in forum Webmaster ResourcesReplies: 5Last Post: 18th Feb 2011, 10:12 AM -
hello Everyone - new guy on the block
By Thomas in forum IntroductionsReplies: 1Last Post: 20th Nov 2010, 04:05 PM -
How to block pop ups-Need help
By sasacal in forum Tutorials and GuidesReplies: 7Last Post: 9th Oct 2010, 10:07 PM
themaCreator - create posts from...
Version 3.23 released. Open older version (or...