pptp服务器租用怎么搭建

 2023-12-24  阅读 4  评论 0

摘要:PPTP(Point-to-Point Tunneling Protocol)是一种常用的 虚拟专用网络(Virtual Private Network)协议,可以在公共网络上建立安全的私人网络连接。以下是在Windows Server 2016上搭建PPTP服务器的步骤: 1. 安装Remote Access角色 在Windows Server 2016上,打开Server Ma

pptp服务器租用怎么搭建

PPTP(Point-to-Point Tunneling Protocol)是一种常用的 虚拟专用网络(Virtual Private Network)协议,可以在公共网络上建立安全的私人网络连接。以下是在Windows Server 2016上搭建PPTP服务器的步骤:

1. 安装Remote Access角色

在Windows Server 2016上,打开Server Manager,选择“Add roles and features”,在“Before you begin”页面上点击“Next”,在“Select installation type”页面上选择“Role-based or feature-based installation”,点击“Next”,在“Select destination server”页面上选择该服务器,点击“Next”,在“Select server roles”页面上勾选“Remote Access”,点击“Add Features”弹出框的“Add Features”按钮,然后点击“Next”,在“Select features”页面上点击“Next”,在“Remote Access”页面上点击“Next”,在“Select role services”页面上勾选“DirectAccess and 虚拟专用网络 (RAS)”,点击“Add Features”弹出框的“Add Features”按钮,然后点击“Next”,在“Web Server Role (IIS)”页面上点击“Next”,在“Role services”页面上点击“Next”,在“Confirmation”页面上点击“Install”。

2. 配置虚拟专用网络服务器

在安装完Remote Access角色后,打开Server Manager,选择“Remote Access”,在“Overview”页面上点击“Run the Getting Started Wizard”,在“Remote Access Setup”页面上选择“Deploy 虚拟专用网络 only”,点击“Next”,在“Select virtual private network (虚拟专用网络) access server”页面上选择“Local area network (LAN) routing only”,点击“Next”,在“Configure Dial-up and 虚拟专用网络 access”页面上选择“Allow access”,点击“Next”,在“Authentication provider”页面上选择“Windows authentication”,点击“Next”,在“虚拟专用网络 client address pool”页面上输入一个可用的IP地址范围,例如192.166.6.1.50-192.166.6.1.100,点击“Next”,在“Completing the Routing and Remote Access Server Setup Wizard”页面上点击“Finish”。

3. 配置防火墙规则

为了让PPTP流量通过防火墙,需要在防火墙上添加规则。打开Windows防火墙高级安全性,选择“Inbound Rules”,点击“New Rule”,在“Rule Type”页面上选择“Custom”,点击“Next”,在“Program”页面上选择“All programs”,点击“Next”,在“Protocol and Ports”页面上选择“Protocol type”为“TCP”,“Local port”为“1723”,点击“Next”,在“Scope”页面上选择“Any IP address”,点击“Next”,在“Action”页面上选择“Allow the connection”,点击“Next”,在“Profile”页面上选择“Domain”,“Private”,“Public”,点击“Next”,在“Name”页面上输入规则名称,例如“PPTP Server”,点击“Finish”。

4. 配置用户账户

为了让用户连接到PPTP服务器,需要创建一个本地用户账户。打开“Computer Management”,选择“Local Users and Groups”,右键点击“Users”,选择“New User”,在“New User”对话框中输入用户名和密码,然后点击“Create”。

5. 测试连接

在客户端上,打开虚拟专用网络连接设置,输入PPTP服务器的公共IP地址或域名,然后输入用户名和密码,点击“连接”。如果一切正常,你应该能够成功连接到PPTP服务器。

以上是在Windows Server 2016上搭建PPTP服务器的步骤。请注意,PPTP协议具有安全漏洞,建议使用更安全的协议,例如L2TP/IPsec或Open虚拟专用网络。

版权声明:xxxxxxxxx;

原文链接:https://lecms.nxtedu.cn/yunzhuji/120022.html

发表评论:

验证码

管理员

  • 内容1196554
  • 积分0
  • 金币0
关于我们
lecms主程序为免费提供使用,使用者不得将本系统应用于任何形式的非法用途,由此产生的一切法律风险,需由使用者自行承担,与本站和开发者无关。一旦使用lecms,表示您即承认您已阅读、理解并同意受此条款的约束,并遵守所有相应法律和法规。
联系方式
电话:
地址:广东省中山市
Email:admin@qq.com
注册登录
注册帐号
登录帐号

Copyright © 2022 LECMS Inc. 保留所有权利。 Powered by LECMS 3.0.3

页面耗时0.0106秒, 内存占用338.02 KB, 访问数据库18次