Using poptop in linux to quickly build a VPN Service

Source: Internet
Author: User
In linux, use poptop to quickly build the VPN service-Linux Enterprise Application-Linux server application information. The following is a detailed description. VPN (Virtual Private Network) is an extension of a Private Network. It can simulate a point-to-point Private connection through a shared Internet or public Network connection, send data between a local computer and a remote computer.

1. download and install the software to be downloaded (poptop.org ):
Dkms-2.0.10-1.noarch.rpm
Kernel_ppp_mppe-1.0.2-3dkms.noarch.rpm
Ppp-2.4.3-5.rhel4.i386.rpm (download your own system corresponding package, my system is centOS4.4)
Pptpd-1.3.3-1.rhel.i386.rpm
Check the package (rpm-qa | grep pp) that has been installed in your system. If not, upgrade the package.


Command:
Installation: rpm-ivh xxx. rpm
Upgrade: rpm-Uvh xxx. rpm

2. edit/etc/pptp. conf (configure the IP address of the vpn Server and the IP address of the client that can be connected)
You only need to enter the last two rows:
Localip 192.168.1.16 // defines the IP address on the vpn Server (that is, the ip address of ppp0 after the connection, or the dynamic domain name)
Remoteip 192.168.1.1-30 // define the Client IP segment.


3. edit/etc/ppp/chap-secrets (configure the vpn user name and password)
You only need to add:
"User" pptpd "password" * // modify user and password to your username and password.
Or:
"User" pptpd "password" 192.168.1.88 // after replacing * with an ip address, it is the ip address after the client is connected.


4. Start the service.
/Etc/rc. d/init. d/pptpd start

Now, the vpn service in linux has been set up. You may test the connection through the winxp dial-up program!

Appendix: Even configuration process
QUOTE:
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.