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