Rotten mud: ubuntu 14.04 OpenVPN server, 14.04 openvpn
This article is written by Xiuyi Lin FengProviding friendship sponsorship, first launched in the dark world
The company branch needs to connect to the company's internal server, but the
OpenVPN client configuration tutorial in Ubuntu generally, Linux servers that provide Web services seldom need to connect to OpenVPN, but personal Linux computers often need to connect to OpenVPN. For example, if you use Linux as the development environment, you need to connect to the company's
# A potential attack discussed here:# Http://openvpn.net/howto.html#mitm## To use this feature, you will need to generate# Your server certificates with the nsCertType# Field set to "server". The build-key-server# Script in the easy-rsa folder will do this.; Ns-cert-type server# If a tls-auth key is used on the
Build OpenVPN server with CentOS6
OpenVPN is a free open-source software used to create a Virtual Private Network (VPC) encrypted channel. OpenVPN allows you to easily build a dedicated network channel similar to a LAN between different network access sites, such as home, office, and hotel accommodation.
Using
. ovpn>/dev/null
It is commendable that openvpn is very intelligent. It will automatically reconnect when the connection is interrupted, the server cannot be connected, or the network is disconnected. Therefore, if you want to automatically connect to OpenVPN upon startup, or the VPN is always online, you can add the above command line
/Etc/rc. local
. Note:
OpenVPN server configuration file description (transfer), openvpn configuration file
This article describes how to configure the configuration file on the OpenVPN server. In Windows, this configuration file is generally called server
-----------------------
Openvpn is an open-source VPN software used on LINUX gateway servers. as its name implies, openvpn is used to connect a secure virtual private channel, allowing users to remotely work and obtain intranet resources.
The software can be used across platforms in Linux, xBSD, Mac OSX, and Windows. openssl is used as the encryption library and the encrypted certificate or user name/passw
OpenVPN client configuration tutorial in Ubuntu generally, Linux servers that provide Web Services seldom need to connect to OpenVPN, but personal Linux computers often need to connect to OpenVPN. For example, if you use Linux as the development environment, you need to connect to the company's
Configure openvpn in Ubuntu
First, make sure that the apt-Get of ubuntu can find the openvpn package.Sudo apt-Get update
Install openvpn packageSudo apt-Get install openvpn
Create an openvpn
Install Openvpn in Ubuntu 14.04Install Openvpn in Ubuntu 14.04--------------------------- Download and install openvpn -----------------------------------
Install openvpn and other necessary plug-ins
# Apt-get install
Build openvpn server in Centos6.5
Because the new version of openvpn does not contain the most important certificate preparation part: easy-rsa, You need to download easyrsa in advance and download it on GitHub. The configuration process will be shown in the following step, this deployment uses the easy-rsa3, And the easy-rsa2.0 operation is completely different,
First, what is OpenVPN Static Key
According to the official document, the Static Key approach is a point-to-point (point-to-point) VPN.
Second, the advantages of OpenVPN Static Key
1. Easy installation2, easy to use, Windows, OS X, Linux can be used by the official client3, adopt the UDP way, the connection is more stable
Third, the OpenVPN Static Key's disad
Directory
1. Install
2. Set up a serious organization to generate a certificate
3. Configure the server
4. Configure the client
1. InstallInstall in UbuntuOpenvpnExtremely simple:
Code:
Sudo apt-Get installOpenvpn
We recommend that you useOpenvpnGUI for Windows installation package, which includesOpenvpnAnd a user-friendly GUI in windows.
2. Set up a serious organization to generate a certificateReferenceOpenvpnIn gener
(Final) i386Protocol: OpenVPNPort: OpenVPN/TCP/1194 (server), 1194 is changeable by default;Encryption: The OpenSSL library is used to encrypt data and control information, and any algorithms supported by OpenSSL can be used.Authentication: multiple authentication methods are supported, including preemptible private keys, third-party certificates, and user name/password combinations;Service:
Deploy OpenVPN Server on CentOS 6
References:Https://www.digitalocean.com/community/tutorials/how-to-setup-and-configure-an-openvpn-server-on-centos-6Http://www.unixmen.com/setup-openvpn-server-client-centos-6-5/Http://docs.ucloud
Installing openvpn in Ubuntu is simple. apt-getinstallopenvpn is followed by buildkey and server and client configuration. For details about how to maintain the dns on the openvpn server, refer to/etc/resolv. after openvpn is inst
One, OpenVPN server-side configuration file details
################################################## Example of a server-side configuration file for OpenVPN 2.0 for multiple clients## This file is used for multi-client ## OpenVPN also supports stand-alone ## This configur
) []: openvpn orgCommon name (eg, your name or your server's hostname) []: openvpn rootcaEmail Address [elm@elm.freetcp.com]:C: \ Program Files \ openvpn \ easy-RSA>Generate the dh1024.pem file, which is required by the server to use TLS.Form: build-dh.batOutput: Keys/dh1024.pem=========================================
Environment company Intranet One CentOS 6.6 Server A, the network card eth0 intranet ip:192.168.8.60, the company public network IP is 116.228 12.88, uses the router's DMZ function to map the public net to the intranet server A (namely Intranet ip:192.168.8.60).
1, install OpenVPN on the server. Because there are no
In windows, use openvpn in linux to log on to the Intranet of the remote server, and use linuxopenvpn.
Requirement: in some environments with strict network requirements, we are unable to remotely access the company's Intranet in a remote location, which brings us great inconvenience. However, we can achieve it easily through openvpn, next we will introduce it.
N
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.