p4gefau1t / trojan-go

Go实现的Trojan代理,支持多路复用/路由功能/CDN中转/Shadowsocks混淆插件,多平台,无依赖。A Trojan proxy written in Go. An unidentifiable mechanism that helps you bypass GFW. https://p4gefau1t.github.io/trojan-go/
GNU General Public License v3.0
7.71k stars 1.67k forks source link

proxy 选项中能不能是cidr列表文件 #476

Open taeasy opened 1 year ago

taeasy commented 1 year ago

{ "run_type": "client", "local_addr": "0.0.0.0", "local_port": 1080, "remote_addr": "www.xxx.com", "remote_port": 443, "password": [ "aaaaa" ], "log_level": 1, "udp_timeout": 60, "ssl": { "verify": true, "verify_hostname": true, "cert": "/etc/ssl/certs/ca-certificates.crt", "cipher": "ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES128-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA:AES128-SHA:AES256-SHA:DES-CBC3-SHA", "cipher_tls13": "TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_256_GCM_SHA384", "sni": "", "alpn": [ "h2", "http/1.1" ], "reuse_session": true, "session_ticket": false, "curves": "" }, "router": { "enabled": false, "bypass": [], "proxy": [这里能不能是个cidr列表文件], "block": [], "default_policy": "proxy", "domain_strategy": "as_is", "geoip": "$PROGRAM_DIR$/geoip.dat", "geosite": "$PROGRAM_DIR$/geosite.dat" }, "tcp": { "no_delay": true, "keep_alive": true, "reuse_port": false, "fast_open": false, "fast_open_qlen": 20 } }