基于pptp的vpn服务搭建部署脚本
- ubuntu环境:
$ wget https://raw.githubusercontent.com/49885458/centos/master/pptp-vpn-server-ubuntu14.04.sh - centos环境:
$ wget https://raw.githubusercontent.com/49885458/centos/master/pptp-vpn-server-centos7.sh
- 1.授权:
$ chmod +x pptp-vpn-server-*.sh - 2.运行:
$ ./pptp-vpn-server-*.sh, 执行过程需要你显示的指定你连接的用户名,密码.- 参数:
username: vpn连接的用户名 - 参数:
password: vpn连接的密码
- 参数:
打开客户端,使用pptp协议连接, 填入你的服务器地址,用户名和密码即可使用.