Surely many habrazhiteli long tasted a wonderful music service, called Pandora.com. Surely many of them, living outside the US, have repeatedly seen the message about the “wrong” IP, forgetting to pay for VPN in time. Today I will try to tell you how to avoid such situations once and for all.
It turns out that not everything in this world is for sale; something is completely free of charge. Even in the case of VPN. So, a little googling, I found a wonderful service called
HotSpot Shield , which just provides this service for free. However, this post could have been finished, but not everything is so rosy: as a payment for using its VPN, they will display banner ads on every page that you open, redirect you from google.com to some unknown search engines and do more many other unpleasant things. I will say right away: the software itself that needs to be installed to use their adware service is not, i.e. advertising and so on will only occur when using the VPN itself. However, on the site of the “Pandora” itself a couple of banners do not interfere at all.
A little thought, I remembered the wonderful command
route . The post could be completed on this second time, but again, bad luck: the gateway address changes with each connection, and the prospect of driving new values ​​every time with my hands did not inspire me. So I started looking for a more automated solution ...
In general, I will not torment with further stories: this solution was the combination of commands into a .bat file, which greatly simplifies life. And here he is:
route delete 208.85.40.20 // pandora.com
route delete 208.85.40.50
route delete 208.85.40.80
for /f "tokens=3" %%i in ('route print 0.0.0.0 MASK 128* -4 ^| findstr "10\."') do (
route add 208.85.40.80 %%i
route add 208.85.40.20 %%i
route add 208.85.40.50 %%i
route delete 0.0.0.0 mask 128.0.0.0 %%i
route delete 128.0.0.0 mask 128.0.0.0 %%i
route delete 0.0.0.0 mask 0.0.0.0 %%i
) // IP VPN, , pandora.com, VPN. ? , .
route add 0.0.0.0 mask 128.0.0.0 192.168.2.1 // , ,
route change 0.0.0.0 mask 128.0.0.0 192.168.2.1 // ( , ).
However, the last two lines are not obligatory at all and are made just for reinsurance. But if you decide to use them, do
not forget to change 192.168.2.1 to the address of your gateway .
Also, this .bat most likely will not work for users who use the Internet through a gateway starting with 10.
')
And so, how to use it all:
1.
Download HotSpot Shield and install it.
2. Connect to VPN
3. Create a .bat file with the code above and run it. By the way, it will need to be done after each reconnection (to the VPN, I mean).
Everything, now we can fully use pandora.com absolutely free of charge and not to view advertising while surfing.
PS Naturally, this method is suitable for any other service that requires a US IP, you just need to add routes to it in the for loop.
PPS Thank you so much
WildHunter with programmersforum.ru and
Foreigner with forum.oszone.net .
I also apologize for the stupid speech, today is the resurrection, but I could not wait to share this method.