1.
Environment 1.1. server environment
Centos6, kernel version: 2.6.32-71. el6The IP address is 192.168.122.180, and the tunnel IP address is 10.8.0.1.
Kernel must support Tun devices and must load iptablesCheck whether Tun is installed:
# Modinfo Tun
Filename:/lib/modules/2.6.32-71. el6.i686/kernel/Drivers/NET/TUN. KoAlias: Char-Major-10-200License: GPLAuthor: (c) 1999-2004 Max kranyansky maxk@qualcomm.comDescription: Universal tun/TAP Device DriverSrcversion: 7d2aaef89c71c83bbffa0deDe
Use openvpn + linux to quickly establish an enterprise VPN
Openvpn introduction http://openvpn.sourceforge.net/, not much said.
Openvpn can work in two modes:
One is the IP Route mode, which is mainly used for point-to-point
One is the Ethernet-based Tunnel Bridge mode, which is applicable to point-to-point and multi-point networks with multiple branches
The conf
OpenVPN Increase the script for logging user log
Cat connect.sh
#!/bin/bash
time= ' Date +%f '
if [-f/etc/openvpn/log/openvpn_$time.log];then touch
/ Etc/openvpn/log/openvpn_$time.log
echo "' Date ' +%f%h:%m:%s ' User $common _name trust_ip $trusted _ip is login, REMOTE_IP is $ifconfig _pool_remote_ip, Mask is $route _netmask_1 ">>/etc/
By simply using the openvpn proxy, all traffic on the local machine will go through the Remote VPN Server. However, when we roll over the wall, it is generally the traffic webpage, that is, as long as the http traffic goes through the VPN. Openvpn combined with squid's http forward proxy can provide the wall-over function for Web browsing, while other traffic such as QQ and thunder still follows the normal
Two days ago, hivefans built an openvpn server on a server in the cluster because of the inconvenience caused by the cluster's network segment. If you have encountered some problems, record them.
He only built an openvpn and did not install ovpn on other servers in the cluster. He wanted to route the Intranet network segment of the cluster through ovpn, the company can
After completing the OpenVpn Bridge Mode experiment under UbuntuServer10.04, this experiment on the routing mode involves two modes: the bridging mode and the routing mode, let's take a look at the differences between the two modes. The above content is available on the Internet. I just organized them into tables to make it easier to compare and understand. Experiment environment: (1) topology: (2) The two routers are simulated using the Dynamips simu
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
Article title: use Openbsd and Openvpn to quickly establish an enterprise VPN. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Use openbsd + openvpn to quickly establish an enterprise vpn
Openvpn can work in two modes:
One is
OpenVPN Optimization-Establishment of TLS handshake Control CHannelAn optimization of the OpenVPN data tunnel is in progress. After referring to the concept and idea of the "giant frame", I carefully considered the design and implementation of the TCP/IP protocol stack, so I come up with a possible error, but at least it is very practical in my scenario: although the upper-layer protocol sends data, it does
Openvpn itself can use an HTTP proxy. That is to say, the openvpn client does not directly connect to the openvpn server, but uses an HTTP proxy for connection. This feature is the peripheral feature of openvpn, not its core, but it can solve many practical problems. It is equivalent to another tunnel outside the tunne
Company demand: Need to build a OpenVPN in the Japanese server, and then through the proxy way to visit foreign sites.
Server IP:
[root@li493-137 ~]# Ifconfig
Eth0 Link encap:ethernet hwaddr f2:3c:91:ae:0a:55
inet addr:57.17.20.30 bcast:57.17.20.255 mask:255.255.255.0
Inet6 ADDR:2400:8900::F03C:91FF:FEAE:A55/64 Scope:global
Inet6 ADDR:FE80::F03C:91FF:FEAE:A55/64 Scope:link
Up broadcast RUNNING multicast mtu:1500 metric:1
RX packets:4620022758
Openvpn Bridge Mode in freebsd is probably the most popular semi-non-standard cross-platform VPN solution, with a large number of users and a pure userland implementation. it's pretty easy to set up, but I often forget certain steps so here's a tutorial for me to rememeber in the future :) Keywords: FreeBSD, OpenVPN, networkingI call OpenVPN semi-non-standard bec
Run multiple openvpn clients-linux Enterprise Application-Linux server application information on a Linux machine at the same time. The following is a detailed description. The server configuration is as follows:
Port 1194
Proto tcp
Dev tun
Ca/etc/openvpn/keys/ca. crt
Cert/etc/openvpn/keys/vpnserver. crt
Key/etc/openvpn
Build openvpn based on user password authentication on CentOS 6.6 x64
I. Deployment
For more information about the deployment, see my previous article. Here we will simply modify the previous article.
Http://www.centoscn.com/image-text/config/2015/0717/5874.html
Ii. Modification
# Vim/etc/openvpn/server. conf
Add the following lines of data at the end of the configuration file:
Script-security 3 system
Au
Centos6.3 openvpn client Centos does not provide Openvpn by default, and there is no openvpn in The yum source. if you want to use yum for installation, install EPEL first. Www.2cto. comShell code wgethttp: // apt. sw. be/redhat/e...
Centos6.3 openvpn client Centos does not provide
Openvpn construction in CentOS, centosopenvpn
OpenVPN is a VPN software based on tunnel encryption. The following describes how to install OpenVPN in CentOS 6.5:
Setenforce 0yum install-y openssl-devel lzorpm-ivh http://mirrors.sohu.com/fedora-epel/6/x86_64/epel-release-6-8.noarch.rpmcd/etc/yum. repos. d/cp epel. repo epel. repo. baksed-I's/^ secure list = https
OpenVPN is a very powerful VPN server software, and some netizens want to know how to make Windows connection use OpenVPN. So, today's small series for everyone in particular to organize a related article. Before learning this tutorial, please users to download OpenVPN client, and then follow this tutorial to learn and operate!
1, first open the
Article title: installation, configuration, and use of OpenVPN in Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Introduction
OpenVPN is an application-layer VPN implementation based on the OpenSSL library. Compared with traditional VPN, it has the advantag
Enable Password Authentication for OPENVPN
1. Server Configuration
1. Modify the main configuration file of openvpn and add the following content:
[Root @ ttt openvpn] # cat/etc/openvpn/server. conf | more
######### Auth password ########Script-security 3 ### -- add script processing, such as password verificationAuth-
Centos6.3 openvpn client Centos does not provide Openvpn by default, and there is no openvpn In the yum source. If you want to use yum for installation, install EPEL first. Www.2cto.com Shell code wget http://apt.sw.be/redhat/el6/en/i386/rpmforge/RPMS/rpmforge-release-0.5.2-2.el6.rf.i686.rpm Shell code rpm-Uvh rpmforge-release-0.5.2-2.el6.rf.i686.rpm after instal
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.