Annual Christmas Party will be December 11. Bring a finger food. Drinks will be provided. If you want to participate in the gift exchange, bring a wrapped gift ($15-$20).

Reminder: There will not be a January meeting.

VPN blocked on certain websites

User avatar
TomTom
Site Admin
Posts: 379
Joined: Thu Feb 19, 2015 11:18 pm
Contact:

VPN blocked on certain websites

Postby TomTom » Wed Oct 25, 2017 5:24 pm

I have previously noted my frequent inability to connect to the Golden Triangle PC Club website, across all my computers and browsers. I also narrowed down the problem to my use of a Texas server setting in my VPN, although I could connect if I switched to a Florida setting!

Upon a bit more digging, I found many others with similar problems, such as this. After a bit more digging, I found a solution that worked on a HMA support site. BTW, HMA is a VPN which is almost universally recommended to avoid, even if this tip is good. This is a shortened version:

On Windows, you can create static routing rules to let IPs bypass the VPN using the integrated tool "route.exe". The site also lists similar solutions for Mac, Linux, Android

To use it, open a command prompt. Run "cmd.exe" or navigate to "All Programs/Accessories/Command Prompt" in the start menu.

Run "route" for instructions to use this tool.

First you need to find your gateway IP address. This is usually the IP of your router/DSL-Modem. If you're not sure which IP that is, run "route print". In the mid-section of the output you should see it. Mine is 192.168.1.254.

Now you need the IP of the website you want to bypass the VPN, in this case "http://www.gtpcc.org".

To get the IP of that website, you can simply ping it by running "ping gtpcc.org". It should return the IP address, which is 12.166.180.215
Alternatively use websites like http://www.hcidata.info/host2ip.htm or http://zzday.info/ for this purpose.

Now create a routing rule for this website, by running "route add 12.166.180.215 192.168.1.254" (syntax: route add destinationIP gatewayIP)

When that is done, connect to the VPN and visit http://www.gtpcc.org again and you should be able to access the site with your VPN active.

Note: This rule is temporary, and will disappear upon next reboot.
To make it permanent, use the switch "-p". e.g. "route -p add 12.166.180.215 192.168.1.254"

It worked for me.
A mind needs books as a sword needs a whetstone, if it is to keep its edge.
- Tyrion Lannister

User avatar
TinyJWRinLC
Site Admin
Posts: 679
Joined: Wed Feb 18, 2015 10:11 pm
Location: In Front of a Computer
Contact:

Re: VPN blocked on certain websites

Postby TinyJWRinLC » Thu Oct 26, 2017 1:11 am

Which VPN you using?
Not only do I not know what's going on, I wouldn't know what to do about it if I did.
George Carlin

User avatar
TomTom
Site Admin
Posts: 379
Joined: Thu Feb 19, 2015 11:18 pm
Contact:

Re: VPN blocked on certain websites

Postby TomTom » Wed Nov 01, 2017 8:13 pm

PIA (Private Internet Access), but from what I have read the issue cuts across all, or at least most, VPNs.
BTW, I have been very pleased so far with PIA, and have been using it for slightly over a year. Occassionally it will either drop a connection, or even freeze up, but that is rare. Simply TaskKill it and start it up again on those rare occasions. And it has never done that on my phones, just on PC.
A mind needs books as a sword needs a whetstone, if it is to keep its edge.
- Tyrion Lannister


Return to “Computer Tips and Tweaks”

Who is online

Users browsing this forum: No registered users and 1 guest