Page 1 of 1

Windows 7 computer connects to OpenVPN but no internet

Posted: Mon Jun 29, 2020 1:03 pm
by dwilley
Hello, I have setup an OpenVPN server on my Linksys router. I had some issues with getting it to work on my Android phone but finally got the config file to allow internet on the phone. If i check my IP with my phone it will tell me my home's IP address away from home while i'm connected. Using the same config file on my laptop i don't get the same results. I feel like I have something configured wrong but not sure why it works on my phone and not my laptop. I am using the OpenVPN Connect app on my phone and the OpenVPN Connect program on my computer. Any help would be appreciated. The config file that I am using for my phone and laptop is posted below.

Client config
dev tun
proto tcp
remote xxxx
tun-mtu 6000
# fragment 0 can be used to improve performance in some instances but
# breaks compatibility with some Android apps
# fragment 0
mssfix 0
resolv-retry infinite
ns-cert-type server
verb 3
redirect-gateway def1

Re: Windows 7 computer connects to OpenVPN but no internet

Posted: Mon Jun 29, 2020 7:16 pm
by dwilley
I have followed the troubleshooting flow chart that is sticky on the forum. It seems that i needed to add push to the beginning of the redirect-gateway line. I now have internet access and I can access connected devices on my LAN at home. Problem is that my public IP does not show as my VPN server's IP. According to the flow chart my VPN is not routing correctly. How would I go about routing the internet access through the VPN tunnel and not from the wifi network i'm connected to?