Skip to content

Instantly share code, notes, and snippets.

@Blithe-Chiang
Created February 3, 2026 05:50
Show Gist options
  • Select an option

  • Save Blithe-Chiang/aa2926ec430113fbcfe31b7ca4da857a to your computer and use it in GitHub Desktop.

Select an option

Save Blithe-Chiang/aa2926ec430113fbcfe31b7ca4da857a to your computer and use it in GitHub Desktop.
clash mobile dev
# ==============================
# Clash for Android - 所有流量走 HTTP Proxy
# ==============================
port: 7890
socks-port: 7891
allow-lan: true
mode: rule
log-level: info
external-controller: 0.0.0.0:9090
dns:
enable: true
listen: 0.0.0.0:7874
ipv6: false
default-nameserver:
- 223.5.5.5
- 114.114.114.114
nameserver:
- 223.5.5.5
- 114.114.114.114
fake-ip-filter:
- "*.lan"
- "*.local"
- "api-dev.ifbird.com"
- "platform-dev.ifbird.com"
- "demo*-admin.ifbird.com"
- "demo*-client.ifbird.com"
- "t8-h5.ifbird.com"
hosts:
# ====== BCYG Development Environment ======
"demo1-admin.ifbird.com": 192.168.2.115
"demo2-admin.ifbird.com": 192.168.2.115
"demo3-admin.ifbird.com": 192.168.2.115
"demo1-client.ifbird.com": 192.168.2.115
"demo2-client.ifbird.com": 192.168.2.115
"demo3-client.ifbird.com": 192.168.2.115
"api-dev.ifbird.com": 192.168.2.115
"platform-dev.ifbird.com": 192.168.2.115
"t8-h5.ifbird.com": 192.168.2.115
# ========= 节点 =========
proxies:
- name: My-HTTP-Proxy
type: http
server: 192.168.2.12 # 改成你的 http proxy IP
port: 8899 # 改成你的 http proxy 端口
# 如果有账号密码就加上
# username: youruser
# password: yourpass
# ========= 节点分组 =========
proxy-groups:
- name: 🚀 Proxy
type: select
proxies:
- My-HTTP-Proxy
- DIRECT
# ========= 规则 =========
rules:
- MATCH,🚀 Proxy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment