In debianLinux, the implementation of vpn Server-Linux Enterprise Application-Linux server application information is as follows. Server Side settings:
First, add the mppe patch to the kernel of the vpn Server,
Obtain patches from debian:
Apt-get install kernel-patch-mppe
Then execute the patch in the source code directory corresponding to the current kernel,
# Cd/usr/src/kernel-source-2.6.8
#/Usr/src/kernel-patches/all/apply/mppe
In the kernel ppp, there will be an additional mppe function, which is compiled into a module form and installed. The module form can be directly mounted without starting the machine and modifying/etc/modules, add a row
Ppp_mppe
Install: pptp service program and setup program:
Apt-get install pptpd webmin-pptp-server
You can set pptpd directly in webmin. Set everything by default.
[Enable MPPE encryption?] Set the option to [Must be used]
In this way, you do not need to modify the default security settings of the win client.
Then allocate the ip address pool,
Create an account and bind an ip address to the Account as needed
The webmin settings do not work properly. Finally, manually add several settings in the setting file \ etc \ pptp. conf, as shown in the following page.
Windows client settings:
Select [vpn] for [new connection] in [network and dial-up connection], and click the default settings.
Linux client settings:
Install client software first
Apt-get install pptp-linux
Install webmin Management
Apt-get install webmin-pptp-client
Then you can use webmin settings.
Automatic client Dialing:
Place the following sentence in a proper position
Pptp vpn.anheng.com.cn call anheng &
Place the vpn access machine in the same network segment as the LAN machine:
In/etc/pptp. conf, remove localip, remoteip allocates a segment of this network ip, and then enable arproxy in/etc/pptp-options to transfer arp to the LAN.
For more information, see the next page.
Configuration file of the linux Client
# File:/etc/ppp/peers/anheng
Name USERID
File/etc/ppp/options.ppt p
Remotename pptpd
Require-mppe
Require-mppe-40
Require-mppe-128
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.