[General]
skip-proxy = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 127.0.0.1, localhost, *.local
bypass-tun = 192.168.0.0/16,10.0.0.0/8,172.16.0.0/12
dns-server = system
tunnel-all-dns = true
always-real-ip = true
geoip-country-code = CN
rule-set-update-interval = 86400

[Proxy]
PROXY = ss,example.com,443,encrypt-method=aes-256-gcm,password=yourpassword

[Rule-Set]
gfw = https://raw.githubusercontent.com/Loyalsoldier/v2ray-rules-dat/release/gfw.txt

[Rule]
# 局域网和本地网络直连
IP-CIDR,192.168.0.0/16,DIRECT
IP-CIDR,10.0.0.0/8,DIRECT
IP-CIDR,172.16.0.0/12,DIRECT
IP-CIDR,127.0.0.0/8,DIRECT
IP-CIDR,100.64.0.0/10,DIRECT
DOMAIN-SUFFIX,local,DIRECT

# Steam 全部走代理
DOMAIN-KEYWORD,steam,PROXY
DOMAIN-SUFFIX,steampowered.com,PROXY
DOMAIN-SUFFIX,steamstatic.com,PROXY
DOMAIN-SUFFIX,steamcommunity.com,PROXY
DOMAIN-SUFFIX,steamcontent.com,PROXY
DOMAIN-SUFFIX,steamusercontent.com,PROXY
DOMAIN-SUFFIX,steamchat.com,PROXY
DOMAIN-SUFFIX,valvesoftware.com,PROXY

# 国内网站直连（使用 GEOIP 区段识别）
GEOIP,CN,DIRECT

# GFW 封锁网站走代理（从 Rule-Set 读取）
RULE-SET,gfw,PROXY

# 默认：其余全部直连（也可改为 PROXY）
FINAL,DIRECT