要是支持 GEOIP 就完美了
josh-chan opened this issue · 3 comments
josh-chan commented
规则可以简单些
imgk commented
It is possible to support geoip. But how to design the rule?
josh-chan commented
It is possible to support geoip. But how to design the rule?
我觉得 trojan-go 的路由配置挺好,可以参考:
"router": {
"enabled": true,
"bypass": [
"geoip:cn",
"geoip:private",
"full:localhost"
],
"block": [
"cidr:192.168.1.1/24",
],
"proxy": [
"domain:google.com",
],
"default_policy": "proxy"
}
imgk commented
You can try the dev brach. It may work but I haven't tested it by myself.