run-type: server # 对外监听端口 local-addr: 0.0.0.0 local-port: 22250 # fallback 端口 remote-addr: 127.0.0.1 remote-port: 80 # 密码 password: - your_password # 自己的域名和证书 ssl: cert: /etc/certs/gulucat.crt key: /etc/certs/gulucat.key sni: trojan.gulucat.com router: enabled: true block: - 'geoip:private' # 不同的安装方式,这些文件的路径会不一样 geoip: /etc/trojan-go/geoip.dat geosite: /etc/trojan-go/geosite.dat