Goal: Change the network location(country) using vpn at my house.
Why: Vpn is much more secure than using proxy. It is integrated to the router. Do not want to use a shared solution such as a smart DNS solution or hidemyass.
Problem: Could establish Openvpn connection with my home router using openvpn server hosted at Azure. But can not browse pages.
- Vpn Client tells the connection is established.
- The home network could ping the server in Azure.
- Browsing gives "Dns probe finished error"
Note: The router works with Hidemyass service using L2TP. The reason I would like to use Azure is I need a dedicated resource.
- Installed openVpn server both on Windows and Ubuntu.
- I have enabled the TCP and UDP ports in the Azure server and disabled the firewall.
- This config enables pinging from home network to Azure network. ( push "redirect-gateway def1 bypass-dhcp" )
What did I Tried
Installed dns server on azure part
Dns had forwarders configured
Pointed home dns in azure
Giving domain name removes one dns timeout when not connected to vpn.
Disabled the firewall at home
Ping to Azure gateway ip(10.8.0.1) works after vpn
After vpn home network can access the files in (10.8.0.1) using \10.8.0.1\vpn ( after push "redirect-gateway def1 bypass-dhcp" )
Ping to google ip(22.214.171.124) stops after vpn when we have push "redirect-gateway def1 bypass-dhcp" config. But I could ping azure
Updated ip registry for enable ipforwarding on the Azure and restarted. Even the vpn connection seems working the ip forwarding does not work.
All updates for the router
CONCEPTUAL NETWORK TOPOLOGY
REAL NETWORK TOPOLOGY
ca "C:\Program Files (x86)\OpenVPN\config\ca.crt"
cert "C:\Program Files (x86)\OpenVPN\config\server.crt"
key "C:\Program Files (x86)\OpenVPN\config\server.key"
dh "C:\Program Files (x86)\OpenVPN\config\dh1024.pem"
server 10.8.0.0 255.255.255.0
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 126.96.36.199"
push "dhcp-option DNS 188.8.131.52"
keepalive 10 120
remote 184.108.40.206 1194
Asus Router DSL-AC68U