Hello Gert, Thank you for your help.
So my new client config will be this: client dev tun proto udp remote XXX.hopto.org 1194 nobind persist-key persist-tun verb 4 float ca ca.crt cert client1.crt key client1.key comp-lzo yes tun-mtu 1500 auth SHA256 cipher AES-128-CBC redirect-gateway def1 dhcp-option DNS 8.8.8.8 <---------------------- new line I will get it a try this afternoon. It seems Windows 7 is not as good as Windows 10 and Android. All my vpn clients have almost the same config, only Windows 7 has this issue. Thanks, James -----Original Message----- From: Gert Doering [mailto:g...@greenie.muc.de] Sent: Wednesday, July 11, 2018 11:07 AM To: James Peng <oldyounggu...@yahoo.com> Cc: openvpn-users@lists.sourceforge.net Subject: Re: [Openvpn-users] please help me to find out why my Win7 client doesn't have web site access Hi, On Wed, Jul 11, 2018 at 10:58:02AM -0400, James Peng via Openvpn-users wrote: > C:\Users\l>tracert www.google.com <http://www.google.com> > > Unable to resolve target system name www.google.com > <http://www.google.com> The DNS servers your client has configured do not work via the VPN tunnel. A config that has "redirect-gateway" (= all my internet access via tunnel) also (usually) needs to have "dhcp-option DNS 1.2.3.4" with the DNS servers to use. Our you configure 8.8.8.8 manually in the TCP/IP options -> extended -> DNS settings. gert -- "If was one thing all people took for granted, was conviction that if you feed honest figures into a computer, honest figures come out. Never doubted it myself till I met a computer with a sense of humor." Robert A. Heinlein, The Moon is a Harsh Mistress Gert Doering - Munich, Germany g...@greenie.muc.de ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Openvpn-users mailing list Openvpn-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-users