路由器(OpenWrt 与 GL.iNet)
在路由器上连接,整个家里或办公室网络上的东西——电视、游戏机、NAS——都会走 VPN,而且只算 一台设备。
OpenWrt
- 在 hi-vpn 为路由器添加一台设备,记下账号、密码与服务器地址。
- 在路由器的 shell 安装软件包:
(较新的 OpenWrt 版本用opkg update && opkg install openconnect luci-proto-openconnectapk add取代opkg install。) - 在 LuCI 到 Network → Interfaces → Add new interface,Protocol 选 OpenConnect。
- VPN Server 填服务器地址,输入账号与密码。
- 在 Firewall Settings 把这个接口放进 wan 区域,Save & Apply。
GL.iNet
GL.iNet 的路由器跑的就是 OpenWrt:从管理界面打开高级设置(LuCI),照同样的步骤做。路由器无法验证
服务器证书的话,安装 ca-bundle 软件包。
还是卡住了?
写信给我们,附上你用的设备与客户端——但绝对不要附上密码。 support@hi-vpn.com