如何设置 VPN 客户端来访问远程 VPN 服务器?

VPN客户端是用于在用户和VPN服务器之间建立安全连接的终端设备或软件。

什么是 VPN?

VPN(虚拟专用网络)利用隧道技术帮助您远程、安全且私密地访问互联网资源。当您使用互联网时,VPN 会加密您的个人信息并向公众隐藏您的 IP 地址。对于 VPN 用户来说,这就像计算机直接相互连接一样。

常见网络拓扑:

这里我们以WR2100作为演示。

步骤 1:打开网络浏览器并转到http://cudy.nethttp://192.168.10.1

详细信息请参阅如何登录Cudy路由器的Web界面?

第 2 步:点击常规设置-> VPN并启用VPN

默认规则:允许所有设备禁止所有设备使用 VPN。

要指定设备,请单击系统状态->设备-> VPN来启用或禁用它。

站点到站点:允许两个站点中的设备相互通信。

VPN 政策:

禁用:无需其他设置。

VPN 终止开关:当 VPN 连接丢失时关闭互联网连接。

域:指定哪些域通过 VPN,哪些不通过

远程子网:指定哪些子网通过 VPN,哪些不通过

步骤3:协议列表中,选择您需要的协议,然后输入您的VPN提供商提供的VPN信息。

PPTP VPN

输入 VPN 服务器地址(例如,113.92.73.163)以及 VPN 提供商提供的 VPN 用户名和密码。

L2TP VPN

输入 VPN 服务器地址(例如 113.92.73.163)、VPN 用户名和密码以及 VPN 提供商提供的预共享密钥。

如果您的 VPN 提供商还为您提供了与帐户绑定的隧道 IP,您可以启用使用自定义隧道 IP选项。

OpenVPN

单击浏览器导入您的 VPN 提供商提供的配置文件。

• WireGuard VPN

单击浏览器导入您的 VPN 提供商提供的配置文件。

接口对等点将自动从您的 VPN 提供商的CONF 文件同步。

• ZeroTier 从属

输入 ZeroTier Master 提供的ZeroTier 网络 ID网关。网关可以在 VPN 状态部分找到。

相关文章: 如何通过Zerotier远程连接Cudy路由器?-Cudy首页

返回博客

70 条评论

@Meehow,
Dear Customer,
Thank you for contacting Cudy support team.
Our technical support has contacted you via email. Please check.

“Hello, I have a problem with Wireguard site to site vpn. It’s connecting to destination router, however I cannot access local subnet from remote subnet. It’s working the other way. I also spotted that route 0.0.0.0/0 is injected to routing table despite the fact I only specified remote subnets as destination for vpn tunnel policy. What is the solution as I cannot access ssh and check and correct vpn settings manually?”

Support Cudy

Last problem exists on p5 with the latest software available

Meehow

Hello, I have a problem with Wireguard site to site vpn. It’s connecting to destination router, however I cannot access local subnet from remote subnet. It’s working the other way. I also spotted that route 0.0.0.0/0 is injected to routing table despite the fact I only specified remote subnets as destination for vpn tunnel policy. What is the solution as I cannot access ssh and check and correct vpn settings manually?

Meehow

@Vit,
Dear Customer,
Thank you for contacting Cudy support team.
Our technical support has contacted you via email. Please check.

“hello!
wr3000h vpn settings work incorrectly. when i setup openvpn or wireguard clients some settings don’t work. don’t work the most important setting – VPN Policy (Domain). Rule Allow listed only Domains doesn’t work.
maybe you have new firmware or some solution.
Thanks.
| HW: WR3000H V1.0 | FW: 2.2.7-20240906-085755 |”

Support Cudy

hello!
wr3000h vpn settings work incorrectly. when i setup openvpn or wireguard clients some settings don’t work. don’t work the most important setting – VPN Policy (Domain). Rule Allow listed only Domains doesn’t work.
maybe you have new firmware or some solution.
Thanks.
| HW: WR3000H V1.0 | FW: 2.2.7-20240906-085755 |

Vit

发表评论