PPTP serverIntranet ETH0:192.168.0.10/24 (192.168.0.1 is Gateway)Public network Eth1:xxx.xxx.xxx.xxxIP:192.168.3.0/24 assigned after client has unplugged PPTPIP:192.168.5.0/24 used before the user has unplugged PPTP#yum Install PPP Libcap-devel LIBCAP#echo 1 >/proc/sys/net/ipv4/ip_forward#wget http://nchc.dl.sourceforge.net/project/poptop/pptpd/pptpd-1.3.4/pptpd-1.3.4.tar.gz#tar ZXF pptpd-1.3.4.tar.gz#cd pp
Today, the PPTP test, the beginning of the smooth, and then began to conduct end-user testing, failure
Look at the picture:
Then you start looking for a problem, look at the configuration:
Server#show Run
Building configuration ...
Current configuration:1668 bytes
!
! Last configuration in 17:09:46 UTC Wed May 16 2012
Upgrade FPD Auto
Version 15.1
Service Timestamps Debug DateTime msec
Service Timestamps log datetime msec
No service pass
Objective:
Build a single network card Linux gateway (transparent proxy), the gateway dial into an overseas VPN server, the client set the gateway, the network exit for the overseas VPN server, to achieve accelerated access to some Web sites.
Environmental information:
Hardware: One Dell Machine, single NIC (ip:10.39.100.253);
Machine Name: VPNGW
Operating system: CentOS 6.0 Kernel Linux 2.6.32-71.el6.i686
Network environment: LAN firewall should allow this machine to dial into a public ne
Vps builds pptp, and the service does not respond for half a day after it is started-General Linux technology-Linux technology and application information. The following is a detailed description. [I = s] This post was last edited by 2010cpu
Today, I want to build pptp using vps as usual, but at the end of the day I used the command # service pptpd start to start the
System Requirements: CentOS 5 32 bits/64 bits.
One-click installation package of PPTP:
Wget http://www.diahosting.com/dload/pptpd.shsh (pptpd. sh)
After the installation is complete, a default user name (vpn) and random password for PPTP are displayed.
Of course, PPTP user names and passwords can be customized.
Edit/etc/ppp/chap-secrets
Vi/etc/ppp/chap-secr
Many may not be familiar with the PPTP configuration in Linux. Below I have written a simple Shell script, which can be directly saved and executed by pptp. sh.
1. Script: yum remove-y pptpd pppIptables -- flush POSTROUTING -- table natIptables -- flush FORWARDRm-rf/etc/pptpd. confRm-rf/etc/pppYum-y install make libpcap iptables gcc-c ++ logrotate tar cpio perl pam tcp_wrappersYum-y dkms-2.0.17.5-1.noarch.r
Configure pptp server on RedHat4sp3 1. Confirm core version # uname-r2.6.9-34.EL version earlier than 1.6.15 requires patching from http://sourceforge.net/project/showfiles.php? Group_id = 44827 download dkms-2.0.10-1.noarch.rpmkernel_ppp_mppe-1.0.2-3dkms.noarch.rpm to install kernel M
Configure pptp server on RedHat4 sp3
1. Confirm the core version# Uname-r2.6.9-34.ELPatch required for versions earlier tha
Prerequisites before reading this article, you need to build a good PPTP, if not yet set up, you can refer to: http://www.xj123.info/2301.html If you need to configure Daloradius, you also need to install lamp, you can refer to:/http Www.xj123.info/2223.html
Ppp:point-to-point Protocol, point-to-Point protocol, is a connection protocol that works on the data link layer. The common ADSL connection used by PPPoE is referred to as the point-to-P
Problem: PPTP is used to build a VPN Server on the Linux platform. After dial-in, the Intranet FTP is accessed. downloading files is extremely slow. When using PPTP as a gateway to access the Internet, most websites except Baidu are extremely slow to access, almost inaccessible. Solution: Add-I forward-P TCP -- SYN to the * filter table of iptables of the Linux service where
Install pptp in centos
References: http://www.dabu.info/centos6-4-structures-pptp-vpn.htmlhttp://www.ttlsa.com/linux/centos-install-pptp-vpn/
The following is the most important installation method for centos 6.4 64-bit. You must select the pptpd version based on the ppp version, below is the most commonly used ing relationship ppp 2.4.4 ------> pptpd 1.3.4ppp 2.
Pptp settings and local vpn (and solve the problem that ssh cannot access the remote host under the vpn), pptpssh1. Install pptpSudo apt-get install-y ppp pptpdsudo vim/etc/pptpd. conf modification: option/etc/ppp/pptpd-optionslocalip 172.31.26.19 (local vpn address) remoteip 172.31.26.20-200 (vpn customer point address range)Create a vpn account sudo vim/etc/ppp/chap-secrets and add a service named test with the pptpd password 123456 to allow all IP
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/etc/ppp/options.pptpd/etc/ppp/options.pptpd.b
Recently, we need to capture the PPTP package, so we set up the PPTP service area.
My environment Fedora 15
1. First install ppp
Yum install ppp-y
2. Install pptpd
You need to find the poptop project on sourceforge and download the source code.
3. Install pptpd
./Configure make install
4. Configure pptpd
Simple configuration is available in the pptpd sample directory and can be copied and used dir
CentOS6 yum the advantage of installing pptp in yum mode is that it is easy to manage. You can use the yum update command to upgrade the program version. Install ppp and iptalbes 1yum install ppp iptables install pptpd add yum source 1 rpm-Uvh http://poptop.sourceforge.net/yum/stable/rhel6/pptp-release-current.noarch.rpm install pptpd 1yum install pptpd ----------------------------- set ingress to enable ro
References: Workshop
References: http://www.dabu.info/centos6-4-structures-pptp-vpn.htmlhttp://www.ttlsa.com/linux/centos-install-pptp-vpn/
The following is the most important installation method for centos 6.4 64-bit. you must select the pptpd version based on the ppp version, below is the most common ing relationship ppp 2.4.4 ------> pptpd 1.3.4ppp 2.4.5 ------> pptpd 1.4.0wget http://poptop.sourceforge.
Configure pptp VPN Client in CentOS 6.3
Yum-yinstallppp pptppptp-setup
Pptpsetup command usage and description:
Pptpsetup -- create
Pptpsetup-delete
Pptpsetup -- create vpn connection name -- server VPN server IP -- username VPN username -- password VPN password
Vi/etc/ppp/peers/vpn connection name# Written by pptpsetupPty "pptp VPN Server IP -- nolaunchpppd"LockNoauthNobsdcompNodeflateName VPN User nameR
iptables startService pptpd start
Okay. now, the VPN has been set up...
Create a user as follows:
# Vi/etc/ppp/chap-secrets
The edited content is (IP * indicates all ):
# Secrets for authentication using CHAP# Client server secret IP addressesUsername pptpd password *
Gjp * 12345 *
Restart the pptp service after configuration.
# Service pptpd start
For more information, see:
Ppp0 Link encap: Point-to-Point Protocol
Inet addr:172.16.36.1P-t-P: 172.16.
1. frist, make sure you have PPP installed
Yum install-y PPP iptables
Yum install Perl
2. Download lastest version pptpd RPM package
Wget http://acelnmp.googlecode.com/files/pptpd-1.3.4-1.rhel5.1.x86_64.rpm
3. Installing the RPM
Rpm-IVH pptpd-1.3.4-1.rhel5.1.i386.rpm
4. open the file/etc/PPP/options.ppt PD
VI/etc/PPP/options.ppt PD
Uncomment the MS-DNS lines (by removing the '#' in front of them) and change them to the DNS servers provided by your ISP or to public DNS servers l
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.