虚拟化容器,大数据,DBA,中间件,监控。

RedHat7.1系统配置pptp client客户端拨号VPN

10 05月
作者:admin|分类:系统运维

 RedHat7.1系统配置pptp client客户端拨号VPN


由于 RedHat7.1系统非常古老,所以连系统盘基本上都找不到了。


好在找到了pptp client的安装源码包。


wget http://downloads.sourceforge.net/project/pptpclient/pptp/pptp-1.8.0/pptp-1.8.0.tar.gz?r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fpptpclient%2Ffiles%2Fpptp%2Fpptp-1.8.0%2F&ts=1462894082&use_mirror=tenet


从这里下载好软件安装包,查看安装包的install安装说明


Installation Instructions - Brief

    1.  install pppd (with MPPE if you require it),
    2.  if pppd is not in /usr/sbin, edit Makefile, variable PPPD,
    3.  'make'
    4.  'make install'


Installation Instructions - Detailed

    1.  install PPP, and make sure it is working.

        On most distributions, use the package called ppp or pppd.

        If your PPTP server requires MPPE, make sure the pppd program
        has been built with MPPE and MS-CHAP support.  PPP from
        version 2.4.2 onwards has this support.  PPP may require
        kernel support for MPPE, which may require patching your
        kernel.

    2.  verify that the pppd program is in the /usr/sbin/ directory.

        On some distributions, it is in /usr/bin, or somewhere else.
        If it isn't in the default directory, edit the Makefile, and
        change the PPPD variable to point at the pppd program.

        You may even want to run a separate pppd program with MPPE
        support.

    3.  compile

        Type 'make'.  This should generate the 'pptp' executable.

    4.  install binaries

    Type 'make install' to have the program and the manual page
    installed.

 


检查安装说明,来安装软件。

1,先查看pppd,程序是否在/usr/sbin/ 目录下。

检查通过,

如果不在此目录,那就要修改Makefile中的变量位置了。

if pppd is not in /usr/sbin, edit Makefile, variable PPPD,
    3.  'make'
    4.  'make install'

最后执行make 与make install 命令,测试执行正常。


配置pptp客户端:

# pptpsetup --create vpn名称 --server ip地址 --username vpn账号 --password vpn密码 --start

# pptpsetup --create vpn名称 --server ip地址 --username vpn账号 --password vpn密码 --encrypt --start

测试VPN正常分的IP与账号密码


浏览2314 评论0
返回
目录
返回
首页
Ubuntu14配置apache/mysql/php/phpmyadmin/vsftp/ioncube环境 ubuntu配置屏摸屏驱动