diff --git a/content/en/posts/sing-box/get-my-config/client-android.json b/content/en/posts/sing-box/get-my-config/client-android.json
index a1b6fe0..1c3e456 100644
--- a/content/en/posts/sing-box/get-my-config/client-android.json
+++ b/content/en/posts/sing-box/get-my-config/client-android.json
@@ -9,14 +9,14 @@
"tag": "dns_proxy",
"address": "https://1.1.1.1/dns-query",
"address_resolver": "dns_resolver",
- "strategy": "ipv4_only",
+ "strategy": "prefer_ipv6",
"detour": "proxy"
},
{
"tag": "dns_direct",
"address": "https://dns.alidns.com/dns-query",
"address_resolver": "dns_resolver",
- "strategy": "ipv4_only",
+ "strategy": "prefer_ipv6",
"detour": "direct"
},
{
@@ -126,14 +126,14 @@
{
"type": "tun",
"tag": "tun-in",
- "inet4_address": "172.16.0.1/30",
- "inet6_address": "fd00::1/126",
- "mtu": 1400,
+ "interface_name": "tun0",
+ "inet4_address": "172.19.0.1/30",
+ "inet6_address": "fdfe:dcba:9876::1/126",
+ "mtu": 9000,
"auto_route": true,
"strict_route": true,
"stack": "mixed",
- "sniff": true,
- "sniff_override_destination": false
+ "sniff": true
}
],
"outbounds": [
@@ -157,6 +157,18 @@
"short_id": "7fcff4362963e98e"
}
},
+ "multiplex": {
+ "enabled": false,
+ "protocol": "h2mux",
+ "max_streams": 32,
+ "padding": true,
+ "brutal": {
+ "enabled": false,
+ "up_mbps": 1000,
+ "down_mbps": 100
+ }
+
+ },
"packet_encoding": "xudp"
},
{
diff --git a/content/en/posts/sing-box/get-my-config/client-windows.json b/content/en/posts/sing-box/get-my-config/client-windows.json
index 894e4a9..d015267 100644
--- a/content/en/posts/sing-box/get-my-config/client-windows.json
+++ b/content/en/posts/sing-box/get-my-config/client-windows.json
@@ -9,14 +9,14 @@
"tag": "dns_proxy",
"address": "https://1.1.1.1/dns-query",
"address_resolver": "dns_resolver",
- "strategy": "ipv4_only",
+ "strategy": "prefer_ipv6",
"detour": "proxy"
},
{
"tag": "dns_direct",
"address": "https://dns.alidns.com/dns-query",
"address_resolver": "dns_resolver",
- "strategy": "ipv4_only",
+ "strategy": "prefer_ipv6",
"detour": "direct"
},
{
@@ -127,11 +127,29 @@
"type": "tun",
"tag": "tun-in",
"interface_name": "tun0",
- "inet4_address": "172.28.0.1/30",
+ "inet4_address": "172.19.0.1/30",
+ "inet6_address": "fdfe:dcba:9876::1/126",
+ "mtu": 9000,
"auto_route": true,
"strict_route": true,
"stack": "mixed",
"sniff": true
+ },
+ {
+ "type": "mixed",
+ "tag": "mixed-in",
+ "listen": "::",
+ "listen_port": 1080,
+ "tcp_fast_open": true,
+ "tcp_multi_path": true,
+ "udp_fragment": true,
+ "udp_timeout": "5m",
+ "sniff": false,
+ "sniff_override_destination": false,
+ "sniff_timeout": "300ms",
+ "domain_strategy": "prefer_ipv6",
+ "udp_disable_domain_unmapping": false,
+ "set_system_proxy": false
}
],
"outbounds": [
@@ -155,6 +173,18 @@
"short_id": "7fcff4362963e98e"
}
},
+ "multiplex": {
+ "enabled": false,
+ "protocol": "h2mux",
+ "max_streams": 32,
+ "padding": true,
+ "brutal": {
+ "enabled": false,
+ "up_mbps": 1000,
+ "down_mbps": 100
+ }
+
+ },
"packet_encoding": "xudp"
},
{
diff --git a/content/en/posts/sing-box/get-my-config/index.md b/content/en/posts/sing-box/get-my-config/index.md
index 4be7df0..944fdb0 100644
--- a/content/en/posts/sing-box/get-my-config/index.md
+++ b/content/en/posts/sing-box/get-my-config/index.md
@@ -33,7 +33,7 @@ resources:
src: featured-image-preview.jpg
toc: true
math: false
-lightgallery: false
+lightgallery: true
password: sing-box
message:
repost:
@@ -529,6 +529,29 @@ Run the client
sing-box -c client-windows.json
```
+For WSL2
+
+```bash
+export ALL_PROXY=http://JamesFlare-NY-B.mshome.net:1080
+```
+
+Change the host to your own value which is the first hop of your route in WSL2. You can test it by
+
+```bash
+mtr jamesflare.com
+```
+
### Run sing-box Android Client
-Remote: https://www.jamesflare.com/en/get-my-proxy/client-android.json
\ No newline at end of file
+Remote: https://www.jamesflare.com/en/get-my-proxy/client-android.json
+
+Import: [sing-box://import-remote-profile](sing-box://import-remote-profile?url=https%3A%2F%2Fwww.jamesflare.com%2Fen%2Fget-my-proxy%2Fclient-android.json#DMIT)
+
+{{< image src="sing-box-qr-code.png" width="240px" caption="sing-box QR Code" >}}
+
+## Tools
+
+### ip.skk.moe
+
+
+
\ No newline at end of file
diff --git a/content/en/posts/sing-box/get-my-config/outbound.json b/content/en/posts/sing-box/get-my-config/outbound.json
index 57efca5..c8bbdd6 100644
--- a/content/en/posts/sing-box/get-my-config/outbound.json
+++ b/content/en/posts/sing-box/get-my-config/outbound.json
@@ -1,6 +1,6 @@
{
"type": "vless",
- "tag": "vless-out",
+ "tag": "proxy",
"server": "154.17.5.35",
"server_port": 443,
"uuid": "9337d5ec-b489-4bf4-a22c-19f7f6e8fbbd",
@@ -18,5 +18,17 @@
"short_id": "7fcff4362963e98e"
}
},
+ "multiplex": {
+ "enabled": false,
+ "protocol": "h2mux",
+ "max_streams": 32,
+ "padding": true,
+ "brutal": {
+ "enabled": false,
+ "up_mbps": 1000,
+ "down_mbps": 100
+ }
+
+ },
"packet_encoding": "xudp"
}
\ No newline at end of file
diff --git a/content/en/posts/sing-box/get-my-config/server.json b/content/en/posts/sing-box/get-my-config/server.json
index f0a098f..6640ae7 100644
--- a/content/en/posts/sing-box/get-my-config/server.json
+++ b/content/en/posts/sing-box/get-my-config/server.json
@@ -6,7 +6,7 @@
{
"type": "vless",
"tag": "vless-in",
- "listen": "0.0.0.0",
+ "listen": "::",
"listen_port": 443,
"users": [
{
diff --git a/content/en/posts/sing-box/get-my-config/sing-box-qr-code.png b/content/en/posts/sing-box/get-my-config/sing-box-qr-code.png
new file mode 100644
index 0000000..2b0df60
Binary files /dev/null and b/content/en/posts/sing-box/get-my-config/sing-box-qr-code.png differ
diff --git a/content/zh-cn/posts/sing-box/get-my-config/client-android.json b/content/zh-cn/posts/sing-box/get-my-config/client-android.json
index a1b6fe0..1c3e456 100644
--- a/content/zh-cn/posts/sing-box/get-my-config/client-android.json
+++ b/content/zh-cn/posts/sing-box/get-my-config/client-android.json
@@ -9,14 +9,14 @@
"tag": "dns_proxy",
"address": "https://1.1.1.1/dns-query",
"address_resolver": "dns_resolver",
- "strategy": "ipv4_only",
+ "strategy": "prefer_ipv6",
"detour": "proxy"
},
{
"tag": "dns_direct",
"address": "https://dns.alidns.com/dns-query",
"address_resolver": "dns_resolver",
- "strategy": "ipv4_only",
+ "strategy": "prefer_ipv6",
"detour": "direct"
},
{
@@ -126,14 +126,14 @@
{
"type": "tun",
"tag": "tun-in",
- "inet4_address": "172.16.0.1/30",
- "inet6_address": "fd00::1/126",
- "mtu": 1400,
+ "interface_name": "tun0",
+ "inet4_address": "172.19.0.1/30",
+ "inet6_address": "fdfe:dcba:9876::1/126",
+ "mtu": 9000,
"auto_route": true,
"strict_route": true,
"stack": "mixed",
- "sniff": true,
- "sniff_override_destination": false
+ "sniff": true
}
],
"outbounds": [
@@ -157,6 +157,18 @@
"short_id": "7fcff4362963e98e"
}
},
+ "multiplex": {
+ "enabled": false,
+ "protocol": "h2mux",
+ "max_streams": 32,
+ "padding": true,
+ "brutal": {
+ "enabled": false,
+ "up_mbps": 1000,
+ "down_mbps": 100
+ }
+
+ },
"packet_encoding": "xudp"
},
{
diff --git a/content/zh-cn/posts/sing-box/get-my-config/client-windows.json b/content/zh-cn/posts/sing-box/get-my-config/client-windows.json
index 894e4a9..d015267 100644
--- a/content/zh-cn/posts/sing-box/get-my-config/client-windows.json
+++ b/content/zh-cn/posts/sing-box/get-my-config/client-windows.json
@@ -9,14 +9,14 @@
"tag": "dns_proxy",
"address": "https://1.1.1.1/dns-query",
"address_resolver": "dns_resolver",
- "strategy": "ipv4_only",
+ "strategy": "prefer_ipv6",
"detour": "proxy"
},
{
"tag": "dns_direct",
"address": "https://dns.alidns.com/dns-query",
"address_resolver": "dns_resolver",
- "strategy": "ipv4_only",
+ "strategy": "prefer_ipv6",
"detour": "direct"
},
{
@@ -127,11 +127,29 @@
"type": "tun",
"tag": "tun-in",
"interface_name": "tun0",
- "inet4_address": "172.28.0.1/30",
+ "inet4_address": "172.19.0.1/30",
+ "inet6_address": "fdfe:dcba:9876::1/126",
+ "mtu": 9000,
"auto_route": true,
"strict_route": true,
"stack": "mixed",
"sniff": true
+ },
+ {
+ "type": "mixed",
+ "tag": "mixed-in",
+ "listen": "::",
+ "listen_port": 1080,
+ "tcp_fast_open": true,
+ "tcp_multi_path": true,
+ "udp_fragment": true,
+ "udp_timeout": "5m",
+ "sniff": false,
+ "sniff_override_destination": false,
+ "sniff_timeout": "300ms",
+ "domain_strategy": "prefer_ipv6",
+ "udp_disable_domain_unmapping": false,
+ "set_system_proxy": false
}
],
"outbounds": [
@@ -155,6 +173,18 @@
"short_id": "7fcff4362963e98e"
}
},
+ "multiplex": {
+ "enabled": false,
+ "protocol": "h2mux",
+ "max_streams": 32,
+ "padding": true,
+ "brutal": {
+ "enabled": false,
+ "up_mbps": 1000,
+ "down_mbps": 100
+ }
+
+ },
"packet_encoding": "xudp"
},
{
diff --git a/content/zh-cn/posts/sing-box/get-my-config/index.md b/content/zh-cn/posts/sing-box/get-my-config/index.md
index bd2f16e..ea41149 100644
--- a/content/zh-cn/posts/sing-box/get-my-config/index.md
+++ b/content/zh-cn/posts/sing-box/get-my-config/index.md
@@ -529,6 +529,29 @@ sudo systemctl start sing-box
sing-box -c client-windows.json
```
+对于 WSL2
+
+```bash
+export ALL_PROXY=http://JamesFlare-NY-B.mshome.net:1080
+```
+
+把Host名改成你自己的,通常是路由的第一跳,可以这样测试一下
+
+```bash
+mtr jamesflare.com
+```
+
### 配置 sing-box Android 客户端
-Remote: https://www.jamesflare.com/zh-cn/get-my-proxy/client-android.json
\ No newline at end of file
+Remote: https://www.jamesflare.com/zh-cn/get-my-proxy/client-android.json
+
+Import: [sing-box://import-remote-profile](sing-box://import-remote-profile?url=https%3A%2F%2Fwww.jamesflare.com%2Fen%2Fget-my-proxy%2Fclient-android.json#DMIT)
+
+{{< image src="sing-box-qr-code.png" width="240px" caption="sing-box QR Code" >}}
+
+## 工具
+
+### ip.skk.moe
+
+
+
\ No newline at end of file
diff --git a/content/zh-cn/posts/sing-box/get-my-config/outbound.json b/content/zh-cn/posts/sing-box/get-my-config/outbound.json
index 57efca5..c8bbdd6 100644
--- a/content/zh-cn/posts/sing-box/get-my-config/outbound.json
+++ b/content/zh-cn/posts/sing-box/get-my-config/outbound.json
@@ -1,6 +1,6 @@
{
"type": "vless",
- "tag": "vless-out",
+ "tag": "proxy",
"server": "154.17.5.35",
"server_port": 443,
"uuid": "9337d5ec-b489-4bf4-a22c-19f7f6e8fbbd",
@@ -18,5 +18,17 @@
"short_id": "7fcff4362963e98e"
}
},
+ "multiplex": {
+ "enabled": false,
+ "protocol": "h2mux",
+ "max_streams": 32,
+ "padding": true,
+ "brutal": {
+ "enabled": false,
+ "up_mbps": 1000,
+ "down_mbps": 100
+ }
+
+ },
"packet_encoding": "xudp"
}
\ No newline at end of file
diff --git a/content/zh-cn/posts/sing-box/get-my-config/server.json b/content/zh-cn/posts/sing-box/get-my-config/server.json
index f0a098f..6640ae7 100644
--- a/content/zh-cn/posts/sing-box/get-my-config/server.json
+++ b/content/zh-cn/posts/sing-box/get-my-config/server.json
@@ -6,7 +6,7 @@
{
"type": "vless",
"tag": "vless-in",
- "listen": "0.0.0.0",
+ "listen": "::",
"listen_port": 443,
"users": [
{
diff --git a/content/zh-cn/posts/sing-box/get-my-config/sing-box-qr-code.png b/content/zh-cn/posts/sing-box/get-my-config/sing-box-qr-code.png
new file mode 100644
index 0000000..2b0df60
Binary files /dev/null and b/content/zh-cn/posts/sing-box/get-my-config/sing-box-qr-code.png differ