How can i know that what is my country main router ip address........bcz i want to block my site in pakistan so whats the procedure.
I assume you're using Apache with mod_access installed, so the easiest way is to place a few "deny from" lines in .htaccess. First, you will have to find out Pakistan IP blocks: http://www.ipdeny.com/ipblocks/data/countries/pk.zone If you already have a .htaccess file in the root of your website, you will have to add lines for each IP country block from the file above. If you don't have .htaccess, just create it in the root folder of your website. Exemplary line: deny from 14.192.128.0/19 Code (markup):
i see the list if i block these ip address then my site not open in pakistan these ip not affect other countries. thanks for your information. i see here 119.30.64.0/18 and also 121.52.144.0/20 and more can you tel me the difference of fist number in both ip i mean what is difference between 119 and 121 thanks again.