In enterprise applications, VPN should be the most used one. In particular, the company has a division of the case, visible VPN in the enterprise application is how extensive. Of course, there are many ways to implement VPN functionality, the company can buy VPN hardware devices, or you can use a dedicated Cisco router
Description
RouterOS Server ip:172.31.101.80
RouterOS version: RouterOS V6.15
Demand:
To configure the PPTP VPN server on the RouterOS server, the PPTP VPN Client dial-in network segment is: 172.31.101.60-172.31.101.79
Operation Steps:
One-click to build PPTP VPN scripts
Download Centos6.2 a key to build a PPTP VPN script
The code is as follows
Copy Code
#wget http://www.hi-vps.com/shell/vpn_centos6.sh#chmod a+x vpn_centos6.sh
Install Centos6.2pptpvpn script #bash vpn_centos6.sh
After the execution there are 1
Proxyarp
lock
nobsdcomp
novj
novjccomp
nologfd
idle 2592000 ms-dns 8.8.8.8 Ms-dns 8.8.4.4
#本栏目更多精彩内容: http://www.bianceng.cn/OS/Linux/
#这里的DNS可以查看服务器本机使用的DNS地址.
②, config file #/etc/ppp/chap-secrets
# Mv/etc/ppp/chap-secrets/etc/ppp/chap-secrets.bak
# vim/etc/ppp/chap-secrets
Enter the following content
# Secrets for authentication using CHAP
# client server secret IP addresses
myusername pptpd MyPassword *
Note: The M
Build a VPN using PPTP on CentOSCentos 6.3 64bit used in this experiment. 1. Check System compatibility before installation. Check the kernel MPPE patch to see if the kernel supports mppe: modprobe ppp-compress-18 echo OK if OK is displayed, it indicates that the kernel has mppe support. 2. to install VPN, you need to install three components: ppp,
/etc/ppp/chap-secretsOnly two lines after opening,
# Secrets for authentication using CHAP# Client Server Secret IP addressesUnder the two lines, add the user information in the following format, separating each entry by a space, such as:
# Secrets for authentication using CHAP# Client Server Secret IP addressesGongzi pptpd 123456 *where * means all IP can be logged in.
Next, modify the kernel parameters so
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/
Article title: Linux study notes virtual private network VPN experiment PPTP. 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.
The full name of VPN is "Virtual Private Network", which is translated as "Virtual Private Network "
Debian uses pptp as the VPN Server-Linux Enterprise Application-Linux server application information. The following is a detailed description. 1. Since my system version is linux-image-2.6.18-6-686> Linux kernel 2.6.15-rc1, there is no need to manually install mppe and dkms
2. install the pptpd service apt-get install pptpd
3. Edit the/etc/pptpd. conf file.
Debian :~ # Cat/etc/pptpd. conf | grep-v "#"
Ppp
Vpn pptp configuration, vpnpptpInstall
Yum install pptpdConfigure pptpd to modify/etc/pptpd. conf settings
Localip 192.168.00001remoteip 192.168.0000234-238,192.168 .0000245
The network segment does not conflict with the local network.Modify/etc/ppp/chap-secrets to configure user name Permissions
# Secrets for authentication using CHAP # client server secret
Apple's operating system is a Mac OS and is completely different from the familiar operating interface of the win system. So, Mac OS systems want to PPTP/L2TP set naturally and completely different from win systems. Next, let's take a look at the detailed steps of the Mac OS system
://www.linuxidc.com/Linux/2011-01/31746.htm for configuring NAT forwarding in PPTPd on Ubuntu VPS
Install pptp vpn http://www.linuxidc.com/Linux/2011-06/37430.htm under CentOS
Linux VPN (PPTPD) + Windows AD unified authentication http://www.linuxidc.com/Linux/2014-03/97779.htmIi. Client installation and configuration:
This article describes the procedures for configuring the PPTP client for commands.A. Installing the PPTP client softwaresudo apt-get install Pptp-linuxB. View network Configuration[emailprotected]:~# ifconfigeth0 Link encap:ethernet HWaddr 00:0c:29:19:a7:0c inet addr:192.16
Official website of Pptpclient
Pptpclient official http://pptpclient.sourceforge.net/howto-diagnosis.phtml#pppd_options
1. use yum to install ppp and pptp packagesYum-y install pppYum-y install pptpIf yum does not have pptp, go to the http://pptpclient.sourceforge.net to download the installation, here we recommend using rpm package.I installed using: http://sourceforge.net/projects/pptpclient/files/
Download pptp-1.7.2.tar.gzHttp://pptpclient.sourceforge.net/root user upload to linux host/tmp directoryUnzip installation: cd/tmptar xzf pptp-1.7.2.tar.gzcd pptp-1.7.2make make install change Configuration: 1. Change the dialing user information file cd/etc/pppvi chap-secrets # Secrets for authentication using CHAP # client
Tplink Router VPN Client setting method
1, in the lower right corner of the desktop right click on the network icon, choose to open the network and Sharing Center, click to set up a new connection or network, set up a new connection.
2, according to the Setup wizard to start setting, select Connect to the workspace, the following figure:
3. Select the connection mode
Choose to use my Internet connec
.i386 libglib-1.2.so.0 was needed by php4-pcntl-gtk-1 .0.2-4.fc9.i386 libgmodule-1.2.so.0 is needed by php4-pcntl-gtk-1.0.2-4.fc9.i386 libgtk-1.2.so.0 was needed by PHP4 -pcntl-gtk-1.0.2-4.fc9.i386 libxml.so.1 is needed by php4-pcntl-gtk-1.0.2-4.fc9.i386 so
1.2.1)
Yum Install GTK + then again 1.2) found:
RPM-IVH php4-pcntl-gtk-1.0.2-4.fc9.i386.rpm Error message:
Warning:php4-pcntl-gtk-1.0.2-4.fc9.i386.rpm:header V3 DSA Signature:nokey, key ID 862acc42 error:failed dependencies: Libglade.so.0 is
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.
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.