Deployment of vpn (pptpd) in Centos

Source: Internet
Author: User
Article title: Deployment of vpn (pptpd) under Centos. 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.

I. Installation
The most convenient installation of pptpd under centos 5 is to download the rpm package pptpd-1.3.4-1.rhel5.1.i386.rpm, and then directly execute rpm? Ivh pptpd-1.3.4-1.rhel5.1.i386.rpm. Fortunately, this package has no other dependencies, so the installation should be exceptionally smooth. If you use the source code for installation, the version of ppp2.3.4 may be high. you need to delete pppd2.3.4 and then install pppp2.4.3, which is troublesome.

After the rpm Package is installed, several configuration files are automatically generated, the main configuration file/etc/pptpd. conf, option file/etc/ppp/options.ppt pd, account file/etc/ppp/chap-secrets. later, pptpd is configured to modify these files.

II. vpn topology
The vpn access logic has three networks:
1. target network to be accessed. Usually in the internal network where the vpn server is located (the vpn server has two NICs, one is public network and the other is private network)
2. public network of the Vpn.
3. the virtual network formed with the client after the Vpn connection. We recommend that you set up a network separately so that the ip address of the private network (destination network) after the vpn is not used.

 

Of course, the vpn tunnel network can be the same network segment as the target network, but this is not recommended.

[1] [2] [3] Next page

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.