run-type: client # 本地监听端口 local-addr: 0.0.0.0 local-port: 1080 # 服务器端口 remote-addr: trojan.example.com remote-port: 8443 # 密码 password: - your_password # 设置路由 router: enabled: true # 直连清单 bypass: - "geoip:cn" - "geoip:private" - "geosite:cn" - "geosite:geolocation-cn" # 拦截清单 block: - "geosite:category-ads" # 代理清单 proxy: - "geosite:geolocation-!cn" # 配置文件路径 geoip: /etc/trojan-go/geoip.dat geosite: /etc/trojan-go/geosite.dat