The Ubuntu version is 13.04LTS, and the default network-manager is used. Related reading: Ubuntu OpenVPN client configuration tutorial:
Ubuntu 13.04 LTS uses the default network-manager.
Related reading:
Ubuntu OpenVPN client configuration tutorial http://www.linuxidc.com/Linux/2013-06/86562.htm
Build OpenVPN http://www.linuxidc.com/Linux/2012-11/74790.htm in Ubuntu 10.04
The method is as follows:
1. Open the terminal and enter the following command:
Sudo apt-get install network-manger-openvpn
You can also go to the Software Center (Ubuntu Software Center) to find the Network during installation,
Click more to add the OpenVPN component, for example:
Or enable the new (sudo apt-get instll synaptic)
2. Establish OpenVPN items:
Edit the connection and select the VPN option. Click Add and select OpenVPN, as shown in the following figure:
Click new to bring up the Configuration window.
Enter the VPN address or link for the gateway.
Select the type according to your VPN authentication method. Here, the password + CA certificate is used as an example [DearVPN uses this method]
Username, password not to mention, all know.
Select the CA certificate from the provider.
3. Advanced Configuration [important!]
In the Configuration window, click "advanced" to bring up the following window:
Select the following options based on the server configuration (which can be found in the client. ovpn configuration file:
1. If your VPN provider uses a custom port, you need to check and set the port.
2. If your VPN provider uses a TCP connection, you also need to check it!
3. In general, you can select LZO compression.
4. For configuration.
Click the 'security' option in the advanced options. For example:
For encryption and HMAC authentication, please select according to the encryption options used by your VPN provider.
If security options are not configured, you may be connected to OpenVPN.
However, you cannot open the webpage or perform any network operations!
Are you done? No. Now we can connect to the VPN, but we cannot access the Internet!
Solution see http://www.linuxidc.com/Linux/2013-07/86899p2.htm