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
5. Finally, edit/etc/ppp/chap-secrets to add users and Set passwords.
# Here * indicates that the PPTP Client IP address is not restricted
# Add a user name: vpn password: 123456
Debian :~ # Cat/etc/ppp/chap-secrets
# Secrets for authentication using CHAP
# Client server secret IP addresses
Vpn pptpd 123456 *
6. Restart the pptpd service.
Debian :~ #/Etc/init. d/pptpd restart
7. Configure iptable rules (I need to modify the rules based on my own situation. I use ADSL to access the Internet, so it is ppp0)
#! /Bin/bash
########################
Echo "Enable IP Forwarding ...."
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.