Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- How to set up a pptp vpn connection on Windows 7 that automatically only routes www.crunchyroll.com
- 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.
- 1.) Set up the vpn connection: http://vpn.hidemyass.com/vpncontrol/pptp/7.html
- 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
- 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.
- If you suffer a disconnect you may need to rerun the script, it will reset the routing.
- You need to replace:
- <VPN> with the Name of the VPN connection you created
- <USER> with the vpn user
- <PASS> with the vpn pass
- @echo off
- @echo make sure to be disconnected!
- rasdial <VPN> /d
- @echo start to connect to vpn
- rasdial <VPN> <USER> <PASS>
- netsh interface ip show config name="<VPN>" | findstr "IP" > ip.dat
- set /p ip= < ip.dat
- del ip.dat
- set ip=%ip:~-12%
- @echo VPN IP is %ip%
- set target=38.72.194.41
- @echo Add route for %target%
- route add %target% mask 255.255.255.255 %ip%
- timeout /T 3 > nul
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement