Advertisement
Guest User

Untitled

a guest
Jan 4th, 2013
3,677
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None | 0 0
  1. How to set up a pptp vpn connection on Windows 7 that automatically only routes www.crunchyroll.com
  2.  
  3. This will make crunchyroll believe your are from the country the vpn resides in, the videostreaming however occurs not directly from www.crunchyroll.com, so it will not be slowed down through the vpn.
  4.  
  5. 1.) Set up the vpn connection: http://vpn.hidemyass.com/vpncontrol/pptp/7.html
  6. 2.) Now we need to change the vpn connection so that it does not replace your normal connection, so disable it as a default gateway as described here: http://diaryproducts.net/about/operating_systems/windows/enable_disable_default_gateway_vpn_windows
  7. 3.) Now we need to set up a script that will create the route for crunchyroll. At least my vpn gives me a dynamic address, so I wrote a batchfile that takes care of creating the route. I have that file run at windows startup via autorun.
  8. If you suffer a disconnect you may need to rerun the script, it will reset the routing.
  9.  
  10. You need to replace:
  11. <VPN> with the Name of the VPN connection you created
  12. <USER> with the vpn user
  13. <PASS> with the vpn pass
  14.  
  15. @echo off
  16. @echo make sure to be disconnected!
  17. rasdial <VPN> /d
  18. @echo start to connect to vpn
  19. rasdial <VPN> <USER> <PASS>
  20. netsh interface ip show config name="<VPN>" | findstr "IP" > ip.dat
  21. set /p ip= < ip.dat
  22. del ip.dat
  23. set ip=%ip:~-12%
  24. @echo VPN IP is %ip%
  25.  
  26. set target=38.72.194.41
  27. @echo Add route for %target%
  28. route add %target% mask 255.255.255.255 %ip%
  29.  
  30. timeout /T 3 > nul
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement