The previous article introduces the OpenVPN installation method, because the article is too long, the client settings are independent, easy to refer to. In this paper the test environment Windows
7.
1. OpenVPN client installation configuration
1. Download OpenVPN client
Windows: http://openvpn.se/download.html
The default installation path: C:/Program Files/OpenVPN/
2. Configure the key certificate
Copy all the files in the keys directory generated by the server in the previous article to C:/Program Files /OpenVPN/config.
3. Create client.ovpn
and put it in the C:/Program Files/OpenVPN/config directory.
The sample content is as follows: clientdev tun # should be consistent with the configuration in the previous server.conf. Proto udp # is the same as the configuration in the previous server.conf. Remote xxxx 1194 //Your server address, port must also be consistent with server.conf above, example: 12.34.56.78resolv-retry infinitenobindpersist-keypersist-tunca ca.crtcert client1.crtkey client1.keyns-cert-type servercomp-lzoverb 3
Second, OpenVPN several common mistakes
1, ADSL users of VPN connectivity issues
If the local experience and local connections using ADSL VPN problem, try the client. It is best to add a sentence to ovpn: route-method exe
Reference address:
http://blog.roachy.net/tag/error-windows-route-add-command-failed-adaptive -sys/
http://www.awolf.net/content/ros/ros-client-default-gateway.html
2, please run OpenVPN GUI with administrator privileges
Other errors similar to the following may occur:
Wed Nov 30 16:55:08 2011 C:\\WINDOWS\\system32\
oute.exe ADD 12.34.56.78 MASK 255.255.255.255 192.168.1.1Wed Nov 30 16:55:08 2011 ROUTE: route addition failed using CreateIpForwardEntry: Access is denied. [status=5 if_index=12]Wed Nov 30 16:55:08 2011 Route addition via IPAPI failed [adaptive]Wed Nov 30 16:55:08 2011 Route addition fallback to route.exeThe requested operation requires elevation.Wed Nov 30 16:55:08 2011 ERROR: Windows route add command failed [adaptive]: returned error code 1
There is an icon in the system tray area at the bottom right corner of the screen. Clicking on this icon will bring up the server we added in the menu. Click Connect. The OpenVPN client will open the link to the OpenVPN server. After a while, the OpenVPN icon turns green and the link is successful.
3, Common OPENVPN running error
Options error: Unrecognized option or missing parameter(s) in [PUSH-OPTIONS]:6: topology (2.0.9)....ROUTE: Route addition failed using CreateIpForwardEntry: One or more arguments are not correct. [if_index=12]...ROUTE: route addition failed using CreateIpForwardEntry: One or more arguments are not correct. [if_index=31]This run error occurs, then search by URL: http: //logicmd.net/2010/08/config-handbook-for-ssh-and-vpn/found, may be OPENVPN version, so the download from the official openvpn-2.0.9-gui- 1.0.3-install replaced openvpn-2.2.1-install operation connect again, immediately OK.
4, OPENVPN connection OK, still unable to access certain Web site
Make sure that the destination URL is in a normal state, and secondly you can check your DNS settings DNS address whether China, the proposed replacement for the official recommended DNS address. Available DNS:
opendns: 208.67.222.222 and 208.67.220.220; google dns: 8.8.8.8 and 8.8.4.4; nordon dns: 198.153.192.1 and 198.153.194.1;
have friends like this question: my operating system is Win7 Ultimate, installed less than a month,
Microsoft Windows 10 system release has been more than a month, many users may have implemented the
Users using Windows7 have found such a problem, when watching movies or listening to music, if QQ or
Microsoft is now pushing the new Win10 application update to the Windows Insider preview system, upg
Online driver detection before Windows 7 installation
Win8.1 system installation millet portable wifi driver can not start normally solution
Computer system speed up - the system is getting slower and slower, can only reinstall the system?
Win10 China installed essential applications announced Have you want?
What are the Windows 10 NIC driver failures?
How does Win7 set hibernation continuously? Win7 sleep continuous network setting method
Win10 system boot prompts cnext.exe application error causes and solutions
How to view the system memory size of win7 Ultimate?
Win7 uses kms to activate Office when prompted to 0x8007000d error solution
Nvidia control panel under Win10 can not open the unresponsive solution
What if the Win10 power icon cannot be turned on? Win10 power icon can not be opened solution
Tip: Create a shortcut for deleting mobile devices
Win7 pops up "Cannot find server or DNS error" prompt what to do?
Win10 forget how to solve the computer password
Win10 WP recovery tool (Windows Phone recovery tool) can not be installed solution
How to set Win8.1 to wake up from sleep to enter password
Win8 virtual wifi phone connection, but can not access the Internet how to do
Solve the startup failure of the NT system - ERD2003 application
Win7 system how to close 360 security guards high-risk vulnerability tips