Advanced proxy configuration for Egern
Smart routing · Ad blocking · Streaming unlock · AI optimization
Subscription: Register here to get your subscription URL for
AllServer.
| Feature | Description |
|---|---|
| Smart DNS | Bootstrap + DoH with domain-based forwarding, DNS hijack on *:53 |
| Ad Blocking | AdBlack DNS + reject ruleset (double layer) |
| Regional Routing | 8 region groups auto-filtered from subscription |
| Streaming | Netflix, Disney+, YouTube, TikTok, Bilibili |
| AI Services | Dedicated routing for ChatGPT, Claude, Gemini, Bing |
| Protocols | SS, Trojan, Vless, VMess, Hysteria 2, TUIC, SOCKS5, HTTP, WireGuard |
- Download
egern.yaml - Egern > Profiles > Import > select the file
- Replace
https://your-subscription-urlinAllServerwith your subscription link - Regional groups auto-pull nodes via
flatten: true— no extra setup needed
| Setting | Value |
|---|---|
| IPv6 | true |
| VIF Only | true |
| DNS Hijack | *:53 |
| GeoIP | Masaiki/GeoIP2-CN |
| ASN DB | P3TERX/GeoLite.mmdb |
| Latency Test | http://wifi.vivo.com.cn/generate_204 |
| Server | Provider |
|---|---|
223.5.5.5 |
Alibaba |
119.29.29.29 |
Tencent |
1.12.12.12 |
Alibaba (New) |
120.53.53.53 |
ByteDance |
2400:3200::1 |
CNNIC (IPv6) |
| Name | Servers |
|---|---|
AdBlack |
quic://dns.adguard-dns.com, https://dns.adguard-dns.com/dns-query |
Alibaba |
223.5.5.5, https://dns.alidns.com/dns-query |
Tencent |
119.29.29.29, https://doh.pub/dns-query |
ByteDance |
180.184.2.2, 180.184.1.1 |
China |
Alibaba + Tencent combined |
Global |
Cloudflare, Google DNS |
| Match | Target | Description |
|---|---|---|
proxy_rule_set (reject) |
AdBlack | Ad blocking |
proxy_rule_set (Alibaba) |
Alibaba | Alibaba services |
proxy_rule_set (Tencent) |
Tencent | Tencent services |
proxy_rule_set (DouYin) |
ByteDance | ByteDance services |
proxy_rule_set (Apple) |
China | Apple services |
proxy_rule_set (ChinaMax) |
China | China domains |
proxy_rule_set (Global) |
Global | International domains |
* |
Global | Default fallback |
| Group | Type | Description |
|---|---|---|
AllServer |
external |
Subscription nodes (auto-filtered) |
Automatic |
auto_test |
Auto-select by latency (300s / 50ms) |
Proxy |
select |
Manual proxy selection |
NoAuto |
select |
Main entry point |
Mainland |
select |
China Direct |
All groups use flatten: true from AllServer, update_interval: 86400.
| Group | Filter | Icon |
|---|---|---|
Hong Kong |
HK, Hong Kong, HKG, MO | :flag_hk: |
Taiwan |
TW, Taiwan, TWN | :flag_tw: |
Japan |
JP, Japan, JPN | :flag_jp: |
Singapore |
SG, Singapore, SGP, MA | :flag_sg: |
United States |
US, USA, States, American | :flag_us: |
United Kingdom |
UK, England, Britain | :flag_gb: |
Korea |
KR, Korea, KOR | :flag_kr: |
Other |
Excludes above regions | 🌍 |
All service groups include AllServer as a fallback.
| Group | Policies | Purpose |
|---|---|---|
AI |
Automatic, US, JP, SG, AllServer | ChatGPT, Claude, Gemini, Bing |
Apple |
Mainland, HK, US, AllServer | Apple services |
Microsoft |
Mainland, HK, SG, US, AllServer | Microsoft services |
OneDrive |
Mainland, HK, SG, US, AllServer | Cloud storage |
Telegram |
Automatic, SG, US, HK, TW, JP, AllServer | Messaging |
X |
Automatic, HK, TW, SG, JP, US, AllServer | Twitter / X |
WeChat |
Mainland, HK, SG, US, AllServer | |
Netflix |
HK, TW, SG, JP, US, AllServer | Streaming |
Disney+ |
HK, SG, AllServer | Streaming |
YouTube |
Automatic, HK, TW, SG, JP, US, AllServer | Streaming |
TikTok |
TW, SG, JP, US, AllServer | Unlock |
Bilibili |
Mainland, HK, TW, AllServer | HK/TW unlock |
Speedtest |
Mainland, Automatic, AllServer | Speed test |
AllServer (subscription)
└─ Regions (HK, TW, JP, SG, US, UK, KR, Other)
├─ Automatic (auto_test)
└─ Services (AI, Apple, Netflix, ...)
└─ All include AllServer
1. Unbreak DIRECT
2. Ad Blocking REJECT
3. Privacy REJECT (trackers)
4. CN Apps WeChat, NetEase, Bilibili, Weibo, XiaoHongShu
5. Apple App Store, Apple News, Apple TV, Apple CDN
6. AI OpenAI, Claude, Gemini, Bing
7. Streaming Disney+, Netflix, TikTok, YouTube
8. Regional US, EU, JP, KR, HK, TW streams
9. Social Twitter/X, Telegram, Facebook, Instagram, Discord
10. Other OneDrive, Microsoft, GitHub, Speedtest
11. CN Rules SKK + ChinaMax
12. Global Rules CDN, Global
13. LAN Local network > DIRECT
14. GeoIP CN > Mainland
15. Default NoAuto
www.google.cnapi.abema.io*.zhihu.comsub.store
Required for URL rewrite and header rewrite features.
Method 1 — In-App Import
- Download
egern.yaml - Egern > Profiles > Import
- Select the file
Method 2 — iCloud
- Save
egern.yamlto iCloud Drive - Egern > Profiles > Import from iCloud
Only AllServer needs your URL. Regional groups pull nodes automatically.
- external:
name: AllServer
type: select
urls:
- "https://your-subscription-url"
filter: '^((?!Remain|Expired|官网|如需|套餐|去除|剩余|距离|Reset|重置|流量).)+$'
update_interval: 86400Each group supports icon (PNG, 120x120 px recommended):
- select:
name: Telegram
policies:
- Automatic
- Singapore
icon: "https://example.com/icon.png"Icon packs
| Pack | Link |
|---|---|
| Qure | QureColor-All.json |
| Orz-3 | miniColor.json |
| tugepaopao | Cute.json |
| Semporia | Semporia.json |