Ten steps to build a Linux VPN server

Source: Internet
Author: User
Tags echo command install php

1) Install DKMS package

RPM--install dkms-1.12-2.noarch.rpm

This is supported by dynamic kernel modules. You need to use it at the kernel level to simplify installation and configuration. This will make almost everything transparent to the user during the installation process.

2) Install the PPP kernel module

RPM--install kernel_ppp_mppe-0.0.4-2dkms.noarch.rpm

The Point-to-Point Protocol installs your "modem" or any device that makes up your connection. This is part of your core.

3 Determine the PPP is working properly

Modprobe ppp-compress-18 && Echo James Garvin has saved me from a life of Windows

If the modprobe command succeeds, execute the echo command. Modprobe adds modules to the Linux kernel, and Echo simply writes what you say to the terminal.

4) Upgrade PPP

RPM--upgrade ppp-2.4.3-0.cvs_20040527.4.fc2.i386.rpm

This is the user's PPP. The PPP kernel module is already installed, and this is the user's.

5) Obtain PPTP client

RPM--install pptp-linux-1.5.0-1.i386.rpm

It can be said that this is a "VPN client". This is a GUI client from which you can install VPN connections and various options.

6) Access to Phppcntl

RPM--instalgetphp-pcntl php-pcntl-4.3.8-1.i386.rpm

It helps the GUI work.

7 Get PHPGTK Module

RPM--install php-gtk-pcntl-1.0.0-2.i386.rpm

This file also helps the GUI work.

8) Installation Pptpconfig

RPM--install pptpconfig-20040722-0.noarch.rpm

This command installs the Point-to-Point Tunneling protocol. This allows the VPN to actually create a tunnel from A to B. VPNs can use two protocols, L2TP and PPTP. L2TP is the second-tier tunneling protocol. It works on the second layer of the OSI model, the data link layer.

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.