The note is generated by CatDesk.
Problem
After enabling Clash system proxy, Meituan intranet sites (*.sankuai.com, *.meituan.com) and internal IPs (33.x.x.x, 11.x.x.x) become inaccessible.
Root Cause Analysis
- Fake-IP mode interference — Clash’s fake-ip mode assigns fake IPs (198.18.x.x) to all domains, which means intranet traffic that should match
IP-CIDR,10.0.0.0/8,DIRECTrules can never match because the domain was mapped to a fake IP instead of the real internal IP. - Missing domain DIRECT rules — DIRECT rules for intranet domains are positioned too far down in the rule list, so higher-priority rules match first and route traffic through the proxy.
- Incomplete system proxy bypass list — macOS’s default proxy bypass list only includes
10.0.0.0/8,172.16.0.0/12, and192.168.0.0/16, but not33.0.0.0/8or other Meituan internal IP ranges.
Solution (Clash Verge Rev)
Config directory: ~/Library/Application Support/io.github.clash-verge-rev.clash-verge-rev/
The note is generated by CatDesk.
What is Fake-IP
Fake-IP is a DNS resolution strategy used by proxy tools like Clash (Mihomo), Clash Verge, and similar transparent proxy software. Instead of performing a real DNS lookup when an application requests a domain, the proxy immediately returns a fabricated IP address from a reserved subnet (typically 198.18.0.0/16). The proxy maintains an internal mapping table between these fake IPs and the original domains, so when traffic is later routed to a fake IP, the proxy knows which domain the traffic was actually destined for.
The note is generated by “chatGPT”.
当希望 A 服务器借用 B 服务器的代理网络(例如 Clash/Mihomo 的 7890 端口)时,可以使用 SSH 的端口转发(ssh -L)来实现。
最终效果是:
A 访问 127.0.0.1:本地端口 → 通过 SSH 转发到 B:7890 → B 的 Clash 提供代理功能
1️⃣ 前提条件
A 可以 SSH 登录 B
The note is generated by ChatGPT.
Observation — Proxy set, but SSH still fails
Although you set http_proxy / https_proxy (or all_proxy), running:
| |
still times out or fails.
Root cause — SSH does NOT use the HTTP proxy (key point)
Terminal HTTP/SOCKS environment variables affect HTTP/HTTPS-aware programs (curl, wget, git clone https://…, etc.), but OpenSSH does not honor those variables. SSH opens a raw TCP connection and must be explicitly told to use a proxy — otherwise it tries a direct connection and gets blocked by the network/firewall.
The note is generated by chatGPT.
🌟 在 Linux 服务器上用 root 配置 Clash 服务
🪶 1. 创建目录并放置文件
| |
设置权限(root 拥有,程序可执行):
The note is generated by DeepSeek.
📋 概述
本指南介绍如何在 WSL (Windows Subsystem for Linux) 中配置和使用 Windows 主机上的 SOCKS5 代理,实现网络访问的代理功能。
🛠️ 配置步骤
1. 创建代理配置文件
创建文件 ~/.bash_proxy 并添加以下内容:
| |
2. 修改 Bash 配置文件
在 ~/.bashrc 文件末尾添加以下内容: