XFileSharing Pro - how to ban USA ips??

Message
Author
free515
Posts: 17
Joined: Apr 03, 2012 11:13 am

how to ban USA ips??

#1 Postby free515 » Apr 26, 2012 3:32 am

When i tried to ban USA IPs using Htaccess
liking this

Code: Select all

deny from 67.22.103.0/28
deny from 67.22.103.16/29
deny from 67.22.103.96/28
deny from 67.22.103.128/29
deny from 67.22.103.176/29

Then i got trouble when users update to premium

so i am looking the admin_ipn_logs

Code: Select all

Got answer: VERIFIED
User login: 2596892
User expire time is : 0000-00-00 00:00:00
Current time is Thu Apr 26 04:15:12 2012
User data: 9.99 = 30
Transaction committed
Finishing session from '173.0.81.1' - - - - - - - - - - - - - 
Done.

173.0.81.1 is the USA ip,What does that mean?

So how to ban usa ips??

thanks

stamos
Posts: 139
Joined: Nov 11, 2010 5:37 pm

#2 Postby stamos » Apr 26, 2012 8:49 am

this is the paypal ip, you dont ban this otherwise your users wont be upgraded to premium.
if you want to ban all USA ips then use iptables from your server, not htaccess, or install a firewall.

check this:
https://ppmts.custhelp.com/app/answers/detail/a_id/92