在 Clash 里使用 Kovalink
电脑上要同时连公司 VPN(OpenVPN 等)时,用 Clash 加载 Kovalink 订阅:公司内网走公司 VPN,其余走 Kovalink。
1. 准备
- 需要一个 mihomo(Clash Meta)内核的客户端。Windows / macOS 用 Clash Verge Rev(GitHub 发布页);安卓用 Clash Meta for Android(发布页)或 FlClash(发布页)。
- 原版 Clash、Clash for Windows、Clash Premium 不支持 VLESS + REALITY,用不了。
- 订阅链接:在 iPhone / iPad / Mac 上打开 Kovalink,进入 设置 → 账户 → Windows / 安卓,点「生成链接」。复制这条链接,或让电脑 / 手机直接扫 App 里的二维码。
- 没有 Kovalink 的 Apple 设备?链接跟账号走——在任意一台 iPhone / iPad / Mac 上登录一次,就能生成。
2. Windows / macOS(Clash Verge Rev)
- 打开「订阅」页,把订阅链接粘到顶部「订阅文件链接」输入框,点「导入」;如果提示无法识别,在链接末尾加上
?format=clash再导入。 - 点一下新出现的订阅卡片(或右键 →「使用」),让它成为当前配置。
- 打开「代理」页,模式选「规则」,在 Kovalink 组里选一个节点(默认选第一个)。
- 在「设置」→「系统设置」里打开「系统代理」;不要打开「虚拟网卡模式」。
- 公司 VPN 照常连接,谁先连都可以;这台电脑上的 Kovalink App 先断开,不要两个同时开。
3. 安卓(Clash Meta for Android / FlClash)
安卓同一时间只能运行一个 VPN 应用,Clash 不能和公司 VPN 同时开——以下只适合不需要公司 VPN 的时候。
- Clash Meta for Android:「配置」→ 新配置 →「从 URL 导入」→ 填「配置名称」「配置 URL」→「保存」→ 点该配置启用 → 主界面「点此启动」→ 在「代理」里选节点。
- FlClash:「配置」→「添加配置」→「通过URL导入」→ 粘贴链接 →「提交」→ 点配置卡片 →「仪表盘」点「启动」。
4. 怎样和公司 VPN 共存
Clash 配置里,以下地址自动直连、不走 Kovalink:
- 内网网段 10.0.0.0/8、172.16.0.0/12、192.168.0.0/16、100.64.0.0/10,以及 IPv6 的 fc00::/7;
- 本机与链路本地地址;
- 以 .local、.lan、.internal、.corp、.home.arpa 结尾的域名,以及 localhost。
公司内网域名(例如 git.公司.com):Clash 会先用电脑当前的 DNS 查一下这个网址,查到的是上面的内网网段就直连,交给公司 VPN。代价是:电脑当前使用的 DNS 服务器能看到你访问的网址名称——连着公司 VPN 时,这可能是公司的 DNS。如果公司 VPN 只为公司域名单独设置 DNS,Clash 查不到内网地址,这些域名会打不开;公司内网使用公网地址时也一样。解决办法见下面。
其余流量全部走 Kovalink 节点组(默认选第一个节点)。
共存的前提与边界:
- Clash 要用「系统代理」模式,不要开「虚拟网卡模式」(TUN)。这样公司 VPN 的路由不会被改动。系统代理模式下,浏览器和大多数遵循系统代理的程序走 Kovalink;不遵循系统代理的程序照常走普通网络(和公司 VPN)。
- 如果公司 VPN 接管全部流量(全局模式),Kovalink 自己的连接也会经过公司网络,能否连上取决于公司网络。
- 公司内网域名打不开时:在 Clash Verge Rev 的「设置」里点「系统代理」右侧的设置图标,打开「系统代理设置」;关闭「始终使用默认绕过」,在出现的「代理绕过设置」里保留原有内容,在末尾加上
*.example.com(换成你的公司域名;Windows 用分号;分隔,macOS 用逗号,分隔),点「保存」。这些网址从此不经过 Clash,直接交给系统和公司 VPN 处理(用公司 DNS、走公司 VPN 路由)。
5. 规则与常见问题
- 一条链接 = 一台设备。换电脑 / 换手机时,先在 App 里「重置链接」——旧链接立即失效——再在新设备导入新链接。
- 订阅链接是你的凭证,不要发给别人。
- 订阅每天自动更新一次,新增的节点会自己出现,不需要重新导入。
- 订阅卡片上显示的总流量为 0 B、或进度条显示已满,不代表流量用完。
- Clash 配置里每个节点只有主线路(REALITY);备用线路(XHTTP,带 Fallback 的那些)目前只在 v2rayN / v2rayNG 里有。
- 导入失败:确认客户端是 mihomo(Clash Meta)内核,并在链接末尾加上
?format=clash再试。 - 内网打不开:确认开的是「系统代理」而不是「虚拟网卡模式」,并按第 4 节把公司域名加进「代理绕过设置」。
- 仍不行:邮件 kova@kovaview.com,附上 Clash 日志截图。
用 v2rayN / v2rayNG?看 Windows 与安卓指南。
在 iPhone、iPad 或 Mac 上?看 Kovalink 使用指南;要下载 Mac 版,去 下载页。
Kovalink in Clash, alongside a company VPN
When the same computer also needs the company VPN (OpenVPN and the like), load the Kovalink subscription in Clash: the company intranet goes through the company VPN, everything else through Kovalink.
1. What you need
- A client built on the mihomo (Clash Meta) kernel. On Windows / macOS use Clash Verge Rev (GitHub releases page); on Android use Clash Meta for Android (releases page) or FlClash (releases page).
- The original Clash, Clash for Windows, and Clash Premium do not support VLESS + REALITY and will not work.
- Subscription link: open Kovalink on iPhone / iPad / Mac, go to Settings → Account → Windows / Android, and tap "Generate link". Copy the link, or let the PC / phone scan the QR code straight from the app.
- No Apple device with Kovalink? The link follows your account — sign in once on any iPhone / iPad / Mac and generate it there.
2. Windows / macOS (Clash Verge Rev)
- Open "Profiles", paste the subscription link into the "Profile URL" field at the top, and click "Import"; if the client says it cannot recognize the link, append
?format=clashto it and import again. - Click the new profile card (or right-click → "Select") to make it the active configuration.
- Open "Proxies", set the mode to "Rule", and pick a node in the Kovalink group (the first one by default).
- In "Settings" → "System Setting", turn on "System Proxy"; do not turn on "Tun Mode".
- Connect the company VPN as usual — either one can connect first; disconnect the Kovalink app on this computer first, and never run both at once.
3. Android (Clash Meta for Android / FlClash)
Android runs only one VPN app at a time, so Clash cannot be on together with the company VPN — the steps below are for when you do not need the company VPN.
- Clash Meta for Android: "Profiles" → New Profile → "Import from URL" → fill in the profile name and the profile URL → "Save" → tap the profile to enable it → "Tap to start" on the main screen → pick a node under "Proxies".
- FlClash: "Profiles" → "Add profile" → "Import from URL" → paste the link → "Submit" → tap the profile card → "Start" on the "Dashboard".
4. How it coexists with a company VPN
In the Clash configuration, the following addresses always connect directly and never go through Kovalink:
- The private ranges 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 100.64.0.0/10, and the IPv6 range fc00::/7;
- Loopback and link-local addresses;
- Domains ending in .local, .lan, .internal, .corp, .home.arpa, and localhost.
Company intranet domains (for example git.company.com): Clash first resolves the name with the DNS your computer is currently using; if the answer is one of the private ranges above, the connection goes direct and is handed to the company VPN. The trade-off: the DNS server your computer is currently using can see the names of the sites you visit — while the company VPN is connected, that may be the company DNS. If the company VPN sets DNS only for the company domains, Clash cannot resolve the intranet addresses and those domains will not open; the same happens when the intranet uses public addresses. See below for the fix.
Everything else goes through the Kovalink node group (the first node by default).
Ground rules and limits:
- Use Clash in "System Proxy" mode and do not turn on "Tun Mode". This leaves the company VPN's routes untouched. In System Proxy mode, the browser and most programs that follow the system proxy go through Kovalink; programs that ignore the system proxy use the normal network (and the company VPN) as before.
- If the company VPN captures all traffic (full-tunnel mode), Kovalink's own connections also pass through the company network — whether they can connect depends on that network.
- If a company intranet domain does not open: in Clash Verge Rev, open "Settings" and click the settings icon next to "System Proxy" to open "System Proxy Setting". Turn off "Always use Default Bypass", and in the "Proxy Bypass Settings" box that appears keep the existing entries and add
*.example.comat the end (replace it with your company domain; separate entries with;on Windows and,on macOS), then click "Save". Those addresses then skip Clash and go straight to the system and the company VPN (company DNS, company VPN routes).
5. Rules and troubleshooting
- One link = one device. Switching to a new PC or phone? "Reset link" in the app first — the old link stops working immediately — then import the new link on the new device.
- The link is your credential. Do not share it.
- Subscriptions refresh automatically once a day; new nodes appear on their own, no re-import needed.
- A total of 0 B or a full bar on the profile card does not mean your data has run out.
- The Clash configuration carries only the main route (REALITY) for each node; the backup routes (XHTTP, the ones marked Fallback) currently exist only in v2rayN / v2rayNG.
- Import fails: make sure the client runs the mihomo (Clash Meta) kernel, append
?format=clashto the link, and try again. - Intranet does not open: make sure "System Proxy" is on instead of "Tun Mode", and add the company domain to "Proxy Bypass Settings" (see section 4).
- Still stuck: email kova@kovaview.com with a screenshot of the Clash log.
Using v2rayN / v2rayNG? Read the Windows & Android guide.
On iPhone, iPad, or Mac? Read the Kovalink guide; for the Mac app, head to the download page.