LinuxLowerVPNClient (p t p) Configuration
Linux: Kernel kernel-2.6.9-42.EL
You can go to the site: http: // pptpclient.sourceforge.net/
Required software:
Kernel-devel-2.6.9-42.EL (built-in system)
Dkms-2.0.10-2.fc5.noarch.rpm
Dernel_ppp_mppe-0.0.5-2dkms.noarch.rpm
The above three files are usually installed when you set up the Linux VPN Server. You can run the # rpm-Q command to view them.
(Example: # rpm-Q dkms)
Pptp-1.7.0-1.i386.rpm
Libxml-1.8.17-13.i386.rpm
Libjlade-0.17-16.i386.rpm
Php-pcntl-4.4.1-1.i386.rpm
Php-gtk-pcntl-1.0.2-1.i386.rpm
Pptpconfig-20060222-6.noarch.rpm
The above six files are to be installed. You can copy the files to/opt/and enter/opt /:
[Root @ localhost ~] # Cd/OPT
[Root @ localhost op] #
View files under/OPT:
[Root @ localhost op] # ls
Check the file version and whether the file is installed:
[Root @ localhost op] # rpm-Q PPTP
Pptp-1.7.0-1 (installed)
If no installation or version is available, install the file:
[Root @ localhost op] # rpm-IVH Pptp-1.7.0-1
Install Files in sequence:
[Root @ localhost op] # rpm-IVH Pptp-1.7.0-1.i386.rpm
[Root @ localhost op] # rpm-IVH libxml-1.8.17-13.i386.rpm
[Root @ localhost op] # rpm-IVH libjlade-0.17-16.i386.rpm
[Root @ localhost op] # rpm-IVH php-pcntl-4.4.1-1.i386.rpm
[Root @ localhost op] # rpm-IVH php-gtk-pcntl-1.0.2-1.i386.rpm
[Root @ localhost op] # rpm-IVH pptpconfig-20060222-6.noarch.rpm
Run after installation
[Root @ localhost op] # pptpconfig
After pptpconfig is started
On the Server Page, set:
Example: Name: qiwanzhong (name of the PPTP connection from the user)
Server: 192.168.1.102
Uername: User Name set on the server
Password: password of the user in the server
Domain: Optional
Set in the routing page:
You only need to select all to tunnel.
Other pages can be default.
In this way, pptpconfig is set up. Click Start or double-click the connection to check whether the connection is stable.
If a large number of automatic packet sending occurs, the connection may be disconnected. This is because the pptpconfig version is too low. You can download a high version and upgrade it.
Of course, we can also directly install the file package in/opt/Under/root, but in that case, add the path # rpm-IVH/opt/after the command during installation /. You can also install the package in/root. The method is the same as above.
Dependency problems often occur when installing Linux VPN. In most cases, due to the low Linux kernel version, many new RPM files cannot be loaded, this is to find a relatively low version for installation.
Reference webpage: http: // pptpclient.sourceforge.net/
For more information about the configuration of VPN (pptpd) servers in Linux, see the previous article "configuration of VPN (pptpd) servers in Linux.