VPN客户端是用于在用户和VPN服务器之间建立安全连接的终端设备或软件。
什么是 VPN?
VPN(虚拟专用网络)利用隧道技术帮助您远程、安全且私密地访问互联网资源。当您使用互联网时,VPN 会加密您的个人信息并向公众隐藏您的 IP 地址。对于 VPN 用户来说,这就像计算机直接相互连接一样。
常见网络拓扑:

这里我们以WR2100作为演示。
步骤 1:打开网络浏览器并转到http://cudy.net或http://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 状态部分找到。


186 条评论
@Dear Felice,
Please enable the VPN kill switch function, Then all the traffics from the clients will go through VPN connection.
“Hi,
I am using a Cudy AX3000 router configured as an OpenVPN client (ExpressVPN).
I have observed the following behavior:
The router itself connects correctly to the VPN and gets an IP in the VPN country. However, LAN clients do not appear to have their DNS traffic routed through the VPN tunnel by default. DNS queries from LAN clients are resolved via the WAN interface unless additional workarounds are implemented.
I would like to clarify:
1. Does the OpenVPN client on this router support full-tunnel routing for all LAN devices (i.e. all traffic, including DNS, forced through the VPN interface)?
2. Is there a setting to ensure DNS queries from LAN clients are always routed through the VPN tunnel and not via the WAN?
3. Does the “VPN kill switch” function enforce routing of LAN traffic through the VPN, or only block traffic when the VPN is down?
4. Are there firmware versions or models that support proper policy-based routing (e.g. select devices or all LAN traffic via VPN)?
My goal is to have all LAN devices fully routed through the VPN, including DNS, without relying on external DNS proxies or additional devices.
Thank you for your support."
Hi,
The router itself connects correctly to the VPN and gets an IP in the VPN country. However, LAN clients do not appear to have their DNS traffic routed through the VPN tunnel by default. DNS queries from LAN clients are resolved via the WAN interface unless additional workarounds are implemented.I am using a Cudy AX3000 router configured as an OpenVPN client (ExpressVPN).
I have observed the following behavior:
I would like to clarify:
1. Does the OpenVPN client on this router support full-tunnel routing for all LAN devices (i.e. all traffic, including DNS, forced through the VPN interface)?
2. Is there a setting to ensure DNS queries from LAN clients are always routed through the VPN tunnel and not via the WAN?
3. Does the “VPN kill switch” function enforce routing of LAN traffic through the VPN, or only block traffic when the VPN is down?
4. Are there firmware versions or models that support proper policy-based routing (e.g. select devices or all LAN traffic via VPN)?
My goal is to have all LAN devices fully routed through the VPN, including DNS, without relying on external DNS proxies or additional devices.
Thank you for your support.
@Dear Rado,
Is it L2TP or L2TP over IPSec? Is there a preshared key?
“I have a AC1200 Wireless mini VPN router.
I would like to setup l2tp VPN via double NATed.
Is there a way how to setup rightID? As currently VPN is failing on IDir ‘’ does not match to ’’”
“I have a AC1200 Wireless mini VPN router.
I would like to setup l2tp VPN via double NATed.
Is there a way how to setup rightID? As currently VPN is failing on IDir ‘’ does not match to ’’”
I have a AC1200 Wireless mini VPN router.
I would like to setup l2tp VPN via double NATed.
Is there a way how to setup rightID? As currently VPN is failing on IDir ‘’ does not match to ’’
@Dear bledad,
You can open and edit the OpenVPN file and delete this “group nogroup”.
Then upload it to the router again.
“hello , i have error with openvpn
Sun Mar 8 07:43:17 2026 daemon.err openvpn(client)29373: Options error: Unrecognized option or missing or extra parameter(s) in /etc/openvpn/client/client.ovpn:62: gro (2.5.2)
line 62 > group nogroup
I’m stuck
please help
thank”