http://ip2nation.com/ip2nation/Sample_Scripts/Country_Based_Redirect
并且已经集成进了laravel:https://github.com/dimsav/laravel-ip-service