diff --git a/advance/customize-protocol-stack/index.html b/advance/customize-protocol-stack/index.html
index 60b3171..73a9688 100644
--- a/advance/customize-protocol-stack/index.html
+++ b/advance/customize-protocol-stack/index.html
@@ -30,7 +30,7 @@
-
+
@@ -314,6 +314,8 @@
- protocol: tls
tag: tls
config:
+ remote-addr: 127.0.0.1
+ remote-port: 80
ssl:
sni: localhost
key: server.key
@@ -322,12 +324,16 @@
- protocol: trojan
tag: trojan1
config:
+ remote-addr: 127.0.0.1
+ remote-port: 80
password:
- 12345678
- protocol: trojan
tag: trojan2
config:
+ remote-addr: 127.0.0.1
+ remote-port: 80
password:
- 87654321
diff --git a/advance/router/index.html b/advance/router/index.html
index 22548b1..c75b6c2 100644
--- a/advance/router/index.html
+++ b/advance/router/index.html
@@ -30,7 +30,7 @@
-
+
@@ -87,7 +87,9 @@
}
}
这个配置文件激活了router模块,使用的是白名单的模式,当匹配到中国大陆或者局域网的IP/域名时,直接连接。如果是广告运营商的域名,则直接断开连接。
-所需要的数据库geoip.dat和geosite.dat已经包含在release的压缩包中,直接使用即可。它们来自v2ray的domain-list-community和geoip。你可以使用如geosite:cn,geosite:bilibili的形式来指定某一类域名,使用如geoip:cn,geoip:private的形式来指定某一类IP。所有可用的tag可以在domain-list-community仓库中找到。
+所需要的数据库geoip.dat和geosite.dat已经包含在release的压缩包中,直接使用即可。它们来自V2Ray的domain-list-community和geoip。
+你可以使用如geosite:cn、geosite:geolocation-!cn、geosite:category-ads-all、geosite:bilibili的形式来指定某一类域名,所有可用的tag可以在domain-list-community仓库的data目录中找到。geosite.dat 更详细使用说明,参考V2Ray/Routing路由#预定义域名列表。
+你可以使用如geoip:cn、geoip:hk、geoip:us、geoip:private的形式来指定某一类IP。geoip:private为特殊项,囊括了内网IP和保留IP,其余类别囊括了各个国家/地区的IP地址段。各国家/地区的代号参考维基百科。
你也可以配置自己的路由规则。例如,想要屏蔽所有example.com域名以及其子域名,以及192.168.1.0/24,添加下面的规则。
"block": [
"domain:example.com",
diff --git a/basic/full-config/index.html b/basic/full-config/index.html
index 12f0597..fc92d55 100644
--- a/basic/full-config/index.html
+++ b/basic/full-config/index.html
@@ -138,7 +138,7 @@
"enabled": false,
"type": "",
"command": "",
- "plugin_option": "",
+ "option": "",
"arg": [],
"env": []
},
diff --git a/developer/index.xml b/developer/index.xml
index f5aab6c..da1ffe5 100644
--- a/developer/index.xml
+++ b/developer/index.xml
@@ -88,7 +88,7 @@
Mon, 01 Jan 0001 00:00:00 +0000
https://p4gefau1t.github.io/trojan-go/developer/url/
- Changelog encrpytion 格式修改为 ss;method:password 概述 感谢 @DuckSoft @StudentMain @phlinhng 对 Trojan-Go URL 方案的讨论和贡献。目前 URL 方案为草案,需要更多的实践和讨论。 Trojan-Go客户端可以接受URL,以定位
+ Changelog encryption 格式修改为 ss;method:password 概述 感谢 @DuckSoft @StudentMain @phlinhng 对 Trojan-Go URL 方案的讨论和贡献。目前 URL 方案为草案,需要更多的实践和讨论。 Trojan-Go客户端可以接受URL,以定位
diff --git a/developer/url/index.html b/developer/url/index.html
index 86ad25e..10cb02c 100644
--- a/developer/url/index.html
+++ b/developer/url/index.html
@@ -17,7 +17,7 @@
:root {}
-
+
@@ -26,9 +26,9 @@
-
+
-
+
@@ -53,7 +53,7 @@
URL方案(草案)
Changelog
-- encrpytion 格式修改为 ss;method:password
+- encryption 格式修改为 ss;method:password
概述
感谢 @DuckSoft @StudentMain @phlinhng 对 Trojan-Go URL 方案的讨论和贡献。目前 URL 方案为草案,需要更多的实践和讨论。
diff --git a/index.xml b/index.xml
index 2826268..535740b 100644
--- a/index.xml
+++ b/index.xml
@@ -205,7 +205,7 @@
Mon, 01 Jan 0001 00:00:00 +0000
https://p4gefau1t.github.io/trojan-go/developer/url/
- Changelog encrpytion 格式修改为 ss;method:password 概述 感谢 @DuckSoft @StudentMain @phlinhng 对 Trojan-Go URL 方案的讨论和贡献。目前 URL 方案为草案,需要更多的实践和讨论。 Trojan-Go客户端可以接受URL,以定位
+ Changelog encryption 格式修改为 ss;method:password 概述 感谢 @DuckSoft @StudentMain @phlinhng 对 Trojan-Go URL 方案的讨论和贡献。目前 URL 方案为草案,需要更多的实践和讨论。 Trojan-Go客户端可以接受URL,以定位