[Rule]
# 强制 WhatsApp 走代理
DOMAIN-KEYWORD,whatsapp,PROXY
DOMAIN-SUFFIX,whatsapp.com,PROXY
DOMAIN-SUFFIX,whatsapp.net,PROXY
DOMAIN-SUFFIX,whatsapp-cdn.net,PROXY
DOMAIN-SUFFIX,fbcdn.net,PROXY
DOMAIN-SUFFIX,facebook.net,PROXY

# 强制 ip.cn 走代理（用于检测真实出口 IP）
DOMAIN-SUFFIX,ip.cn,PROXY 
DOMAIN-SUFFIX,zhibaiwan.cc,PROXY 

# WhatsApp 相关 IP 段（Meta）
IP-CIDR,31.13.24.0/21,PROXY,no-resolve
IP-CIDR,31.13.64.0/18,PROXY,no-resolve
IP-CIDR,157.240.0.0/16,PROXY,no-resolve
IP-CIDR,66.220.144.0/20,PROXY,no-resolve
IP-CIDR,69.63.176.0/20,PROXY,no-resolve
IP-CIDR,74.119.76.0/22,PROXY,no-resolve
IP-CIDR,173.252.64.0/18,PROXY,no-resolve
IP-CIDR,204.15.20.0/22,PROXY,no-resolve

# 本地网段直连
IP-CIDR,192.168.0.0/16,DIRECT
IP-CIDR,10.0.0.0/8,DIRECT
IP-CIDR,127.0.0.0/8,DIRECT
IP-CIDR,172.16.0.0/12,DIRECT

# 默认：其他全部直连
FINAL,DIRECT