Using a Virtual Private Network (VPN) is a good way to bypass ISP restriction such as website or port blockages. One can easily setup a VPN through a server or purchase paid subscriptions by providers. Setting up a VPN is fairly easy and you can get it done within minutes but there are little problems that come with it.
I have seen many of the users who face problems accessing websites after setting up a PPTP/L2TP VPN, the webpages won’t load (or stuck at loading) at all but other websites would load just fine. So, I have mentioned some steps below that could fix this problem.
Websites Not Opening in VPN [Fix]
1. Correct your network adapter MTU [works 80% of time]
MTU is the packet size that helps making a connection between your Computer and the server. If it is not properly determined, you will face issues. To correct MTU size, follow steps:
Open Comment prompt (cmd) with administrator privileges.
Type the following command and press Enter.
netsh interface ipv4 show subinterfaces
It will show you connected LAN/WiFi network adapters, bytes sent and received including the MTU size. Now what you need to do is to adjust the MTU size using the following command.
netsh interface ipv4 set subinterface "Local Area Connection" mtu=nnnn store=persistent
Local Area Connection (red) is the name of the network connection on your computer, from the list obtained above.
nnnn (green) is the desired value for MTU.
The default MTU size is 1500 on many connections. Try lowering it down to 1472, 1450, 1380 until the websites start opening again on your PC.
Remember, you need to restart your PC for the changes to take effect.
2. If changing MTU does not work for you, change the DNS settings.
Change your DNS IP addresses to popular free service like, Google DNS.
Go to Network adapter settings, change TCP/IPv4 properties and set DNS to 22.214.171.124 and 126.96.36.199
After doing this, go to command prompt, and type “ipconfig /flushdns” and press Enter.
3. Clear your browser cache, cookies
If you are using Chrome or Firefox, press CTRL+Shift+DEL and remove the browsing history, cookies and cache. They sometime prevent the websites from opening.
If you have any other troubleshooting tips, or have any ideas to improve this guide, please comment below. Thanks for reading!