linux下PPTP Server测试环境搭建

1.1  服务器软件安装

安裝PPTP  Server 所需的软件:

Ø  安装PPTP:

sudo apt-get install pptpd  

PPTPServer的软件安装很简单,只需要安装pptpd就可以了。

1.2  配置

Ø  执行命令vi /etc/pptpd.conf配置pptpd.conf文件,增加修改如下:

------------------/etc/pptpd.conf-----------------------------

……#省略部分打印

#      3. No shortcuts in ranges! ie. 234-8 does not mean 234 to 238,

#         you must type 234-238 if you mean this.

#

#      4. If you give a single localIP, that's ok - all local IPs will

#         be set to the given one. You MUST still give at least one remote

#         IP for each simultaneous client.

#

# (Recommended)

#localip 192.168.0.1

#remoteip 192.168.0.234-238,192.168.0.245

localip 66.66.66.1  #server

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值