Install pptp vpn under CentOS7
Install pptp vpn in Centos 7
1. Check whether the system kernel supports MPPE.
Modprobe ppp-compress-18 echo OK
If "OK" is displayed, MPPE is supported.
2. Check whether TUN/TAP support is enabled.
Cat/dev/net/tun
Cat:/dev/net/tun: The file descriptor is in the error
Install Strongswan: an IPsec-based VPN tool on Linux
IPsec is a standard that provides network layer security. It contains Authentication Header (AH) and security load encapsulation (ESP) components. AH provides the integrity of the package, and the ESP component provides the confidentiality of the package. IPsec ensures security at the network layer.
Confidentiality
Data Packet integrity
Source Non-Rep
Detailed installation Tutorial:
1. Check whether the server has necessary support. If no support is provided, pptp cannot be installed. Run the following command:
# Modprobe ppp-compress-18 echo OK
After this execution, "OK" is displayed, indicating that the operation is successful. However, you need to perform another check and enter the command:
# Cat/dev/net/tun
If the result of this command is the following text, it indicates that:
Cat:/dev/net/tun: File descriptor in bad state
You can
CentOS PPTP VPN Server (32-bit) installation
1. Package Installation
The code is as follows
Copy Code
Yum install-y PPP Iptableswget http://poptop.sourceforge.net/yum/stable/packages/pptpd-1.3.4-2.el6.i686.rpmRPM-IVH pptpd-1.3.4-2.el6.i686.rpm
2. Configuration file2.1 Configuration/ETC/PPP/OPTIONS.PPTPD
The code is as follows
Copy Code
Mv/
Install l2tp/ipsec vpn in Centos 71. install the software package required by l2tp ipsec
Yum install epel-release
Yum install openswan xl2tpd ppp lsof
2. Set ipsec
2.1 edit/etc/ipsec. conf
Vi/etc/ipsec. confReplace xx. xxx with the actual Internet fixed IP address
Ubuntu14.04 install samba, vpn, and ubuntu14.04samba
Preface:
VPN + SAMBA allows you to map the VPS directory you have applied online to the network drive of your computer for convenient development.
1. Install samba
Source: http://jingyan.baidu.com/article/00a07f38b9194082d028dc08.html
Update source listOpen the ter
In centos6.3x64 environment, install the vpn client. specifically, I tried to check whether the server has been installed on the local server first... in centos 6.3 x64 environment, install the vpn Client. Q: www.2cto.com because the project needs to use the google Cloud Storage and facebook and twitter API services, t
In centos 6.3 x64 environment, install the vpn Client. Q: www.2cto.com because the project needs to use the google cloud storage and facebook and twitter API services, the local development server needs to flip Q. specifically, I tried to check whether ppp, pptp, and pptp-setup were installed on the local server first. If not, install yum-y
/ubuntu/ karmic main restricted universe multiverse Deb - SRC http: // Mirrors.163.com/ubuntu/ karmic-security main restricted universe multiverse Deb - SRC http: // Mirrors.163.com/ubuntu/ karmic-Updates main restricted universe multiverse Deb - SRC http: // Mirrors.163.com/ubuntu/ karmic-proposed main restricted universe multiverse Deb - SRC http: // Mirrors.163.com/ubuntu/ karmic-backports main restricted universe multiverse
Please refer to the following link for m
CentOS5 Execute the following command
wget http://www.vipkj.net/soft/Linux/pptpd/centos5_pptpd.shchmod +x centos5_pptpd.sh./centos5_pptpd.sh
CentOS6 Execute the following command
wget http://www.vipkj.net/soft/Linux/pptpd/centos6_pptpd.shchmod +x centos6_pptpd.sh./centos6_pptpd.sh
After the installation is successful, you will be prompted at the end of the VPN login account and password.
The VPN servic
1. Add an extended repo file to the/etc/yum. repo directory. The content is as small
[Epel]Name = Extra Packages for Enterprise Linux 6-$ basearchBaseurl = http://download.fedoraproject.org/pub/epel/6/?basearch# Items list = https://mirrors.fedoraproject.org/metalink? Epel-6 arch = $ basearchFailovermethod = priorityEnabled = 1Gpgcheck = 1Gpgkey = file: // etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
[Epel-debuginfo]Name = Extra Packages for Enterprise Linux 6-$ basearch-DebugBaseurl = http://download.fe
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.