Browse Source

Change `127.0.0.1` to `::1`

nekolsd 4 tháng trước cách đây
mục cha
commit
2fb8a67787
73 tập tin đã thay đổi với 130 bổ sung130 xóa
  1. 2 2
      All-in-One-fallbacks-Nginx/README.md
  2. 1 1
      All-in-One-fallbacks-Nginx/client.configs/ShadowSocks-H2-TLS.jsonc
  3. 1 1
      All-in-One-fallbacks-Nginx/client.configs/ShadowSocks-TCP-TLS.jsonc
  4. 1 1
      All-in-One-fallbacks-Nginx/client.configs/ShadowSocks-WS-TLS.jsonc
  5. 1 1
      All-in-One-fallbacks-Nginx/client.configs/ShadowSocks-gRPC.jsonc
  6. 1 1
      All-in-One-fallbacks-Nginx/client.configs/Trojan-H2-TLS.jsonc
  7. 1 1
      All-in-One-fallbacks-Nginx/client.configs/Trojan-TCP-TLS.jsonc
  8. 1 1
      All-in-One-fallbacks-Nginx/client.configs/Trojan-WS-TLS.jsonc
  9. 1 1
      All-in-One-fallbacks-Nginx/client.configs/Trojan-gRPC-TLS.jsonc
  10. 1 1
      All-in-One-fallbacks-Nginx/client.configs/VMESS-H2-TLS.jsonc
  11. 1 1
      All-in-One-fallbacks-Nginx/client.configs/VMESS-TCP-TLS.jsonc
  12. 1 1
      All-in-One-fallbacks-Nginx/client.configs/VMESS-WS-TLS.jsonc
  13. 1 1
      All-in-One-fallbacks-Nginx/client.configs/VMESS-gRPC-TLS.jsonc
  14. 1 1
      All-in-One-fallbacks-Nginx/client.configs/Vless-H2-TLS.jsonc
  15. 1 1
      All-in-One-fallbacks-Nginx/client.configs/Vless-TCP-TLS.jsonc
  16. 1 1
      All-in-One-fallbacks-Nginx/client.configs/Vless-TCP-XTLS.jsonc
  17. 1 1
      All-in-One-fallbacks-Nginx/client.configs/Vless-WS-TLS.jsonc
  18. 1 1
      All-in-One-fallbacks-Nginx/client.configs/Vless-gRPC-TLS.jsonc
  19. 4 4
      All-in-One-fallbacks-Nginx/nginx.conf
  20. 10 10
      All-in-One-fallbacks-Nginx/server.jsonc
  21. 3 3
      MITM-Domain-Fronting/config.jsonc
  22. 3 3
      ReverseProxy/Shadowsocks-2022/client.jsonc
  23. 3 3
      ReverseProxy/VLESS-TCP-XTLS-WS/client_tcp.jsonc
  24. 3 3
      ReverseProxy/VLESS-TCP-XTLS-WS/client_ws.jsonc
  25. 1 1
      ReverseProxy/VLESS-TCP-XTLS-WS/nginx.conf
  26. 2 2
      ReverseProxy/VLESS-TCP-XTLS-WS/portal.jsonc
  27. 3 3
      ReverseProxy/Vmess-TCP/client.jsonc
  28. 2 2
      Serverless-for-Iran/serverless_with_mitm_for_Iran.jsonc
  29. 3 3
      Shadowsocks-TCP/client.jsonc
  30. 3 3
      Socks5-TLS/config_client.jsonc
  31. 1 1
      Socks5-TLS/config_server.jsonc
  32. 1 1
      Trojan-TCP-TLS (minimal)/config_client.jsonc
  33. 1 1
      Trojan-TCP-XTLS/config_client.jsonc
  34. 1 1
      Trojan-TCP-XTLS/nginx.conf
  35. 1 1
      VLESS-HTTP-Caddy/VLESS-H2C-Caddy/Caddyfile
  36. 1 1
      VLESS-HTTP-Caddy/VLESS-H2C-Caddy/server.jsonc
  37. 1 1
      VLESS-HTTP-Caddy/VLESS-H3-Caddy/Caddyfile
  38. 1 1
      VLESS-HTTP-Caddy/VLESS-H3-Caddy/server.jsonc
  39. 1 1
      VLESS-HTTP-Caddy/VLESS-H3-To-H2C-Caddy/Caddyfile
  40. 1 1
      VLESS-HTTP-Caddy/VLESS-H3-To-H2C-Caddy/server.jsonc
  41. 2 2
      VLESS-TCP-REALITY (without being stolen)/config_client.jsonc
  42. 2 2
      VLESS-TCP-REALITY (without being stolen)/config_server.jsonc
  43. 1 1
      VLESS-TCP-TLS (maximal by rprx)/config_client.jsonc
  44. 1 1
      VLESS-TCP-TLS (maximal by rprx)/nginx.conf
  45. 1 1
      VLESS-TCP-TLS (minimal by rprx)/config_client.jsonc
  46. 1 1
      VLESS-TCP-TLS-WS (recommended)/config_client_tcp_tls.jsonc
  47. 1 1
      VLESS-TCP-TLS-WS (recommended)/config_client_ws_tls.jsonc
  48. 1 1
      VLESS-TCP-TLS-WS (recommended)/config_server.jsonc
  49. 3 3
      VLESS-TCP-TLS-proxy protocol/config_client.jsonc
  50. 3 3
      VLESS-TCP-TLS-proxy protocol/nginx.conf
  51. 3 3
      VLESS-TCP-TLS/config_client.jsonc
  52. 2 2
      VLESS-TCP-TLS/nginx.conf
  53. 1 1
      VLESS-TCP-XTLS-Vision-REALITY/config_client.jsonc
  54. 2 2
      VLESS-TCP-XTLS-Vision/config_client.jsonc
  55. 3 3
      VLESS-TCP-XTLS-Vision/nginx.conf
  56. 3 3
      VLESS-TCP/config_client.jsonc
  57. 1 1
      VLESS-TCP/nginx.conf
  58. 1 1
      VLESS-TLS-SplitHTTP-CaddyNginx/Caddyfile
  59. 1 1
      VLESS-TLS-SplitHTTP-CaddyNginx/client.jsonc
  60. 1 1
      VLESS-TLS-SplitHTTP-CaddyNginx/nginx.conf
  61. 1 1
      VLESS-TLS-SplitHTTP-CaddyNginx/server.jsonc
  62. 1 1
      VLESS-TLS-SplitHTTP-H3/client.jsonc
  63. 1 1
      VLESS-WSS-Nginx/nginx.conf
  64. 1 1
      VLESS-WSS-Nginx/server.jsonc
  65. 3 3
      VLESS-gRPC-REALITY/config_client.jsonc
  66. 1 1
      VLESS-mKCPSeed/config_client.jsonc
  67. 3 3
      VMess-HTTP/config_client.jsonc
  68. 3 3
      VMess-HTTP2/config_client.jsonc
  69. 3 3
      VMess-TCP-TLS/config_client.jsonc
  70. 3 3
      VMess-TCP/config_client.jsonc
  71. 3 3
      VMess-Websocket-TLS/config_client.jsonc
  72. 3 3
      VMess-Websocket/config_client.jsonc
  73. 1 1
      VMess-mKCPSeed/config_client.jsonc

+ 2 - 2
All-in-One-fallbacks-Nginx/README.md

@@ -32,7 +32,7 @@ The Vless-TCP-XTLS is the HTTPS entrypoint. For every incoming request after doi
 * If **ALPN=HTTP2** and at the same time the **SNI=trh2o.example.com** then the request is passed to **@trojan-h2**.
 * In case of **ALPN=HTTP2**, it's first passed to **@trojan-tcp**. In trojan-tcp, if if it's not a valid request(for example the trojan password is wrong), another fallback is set, to once more pass the request to Nginx HTTP2 Unix Domain Socket and a decory website is served. When the request is using HTTP2, it could also be gRPC, so that is also checked in Nginx. This is how a VMESS-gRPC request is processed:
 
-VMESS-gRPC Request ------> Xray Vless-TCP-XTLS(443) ----**alpn=h2**----> fallback to xray trojan-tcp ------> fallback to nginx /dev/shm/h2c.sock ---**path=/vmgrpc**---> grpc_pass to xray vmess-gRPC listener on 127.0.0.1:3003
+VMESS-gRPC Request ------> Xray Vless-TCP-XTLS(443) ----**alpn=h2**----> fallback to xray trojan-tcp ------> fallback to nginx /dev/shm/h2c.sock ---**path=/vmgrpc**---> grpc_pass to xray vmess-gRPC listener on [::1]:3003
 
 ## What to change before use?
 * Xray server.json
@@ -61,7 +61,7 @@ VMESS-gRPC Request ------> Xray Vless-TCP-XTLS(443) ----**alpn=h2**----> fallbac
 
 ## Notes:
 * Tested with **Xray 1.7.2** (Xray, Penetrates Everything.) Custom (go1.19.4 linux/amd64)
-* For a little better performance, a DNS Cache could be setup (on 127.0.0.53 in this case) and used for resolving DNS queries. To enable xray to use it uncomment the corresponding rule from the `routing.settings.rules` in server.json.
+* For a little better performance, a DNS Cache could be setup (on ::1 in this case) and used for resolving DNS queries. To enable xray to use it uncomment the corresponding rule from the `routing.settings.rules` in server.json.
 * Multiple domains could be used at the same time, including domains behind cloudflare CDN. (For cloudflare, make sure websocket and gRPC are enabled in Network section). In this configuration these domains are **example.com** and **behindcdn.com**
 * HTTP2 inbounds (Trojan-H2, Vless-H2, VMESS-H2 and ShadowSocks-H2)
     * [HTTP2 Transport does not support fallback based on `path`](https://xtls.github.io/config/transports/h2.html#http-2). That's why SNI is used instead.

+ 1 - 1
All-in-One-fallbacks-Nginx/client.configs/ShadowSocks-H2-TLS.jsonc

@@ -4,7 +4,7 @@
   },
   "inbounds": [
     {
-      "listen": "127.0.0.1",
+      "listen": "::1",
       "port": "1080",
       "protocol": "socks",
       "settings": {

+ 1 - 1
All-in-One-fallbacks-Nginx/client.configs/ShadowSocks-TCP-TLS.jsonc

@@ -4,7 +4,7 @@
   },
   "inbounds": [
     {
-      "listen": "127.0.0.1",
+      "listen": "::1",
       "port": "1080",
       "protocol": "socks",
       "settings": {

+ 1 - 1
All-in-One-fallbacks-Nginx/client.configs/ShadowSocks-WS-TLS.jsonc

@@ -4,7 +4,7 @@
   },
   "inbounds": [
     {
-      "listen": "127.0.0.1",
+      "listen": "::1",
       "port": "1080",
       "protocol": "socks",
       "settings": {

+ 1 - 1
All-in-One-fallbacks-Nginx/client.configs/ShadowSocks-gRPC.jsonc

@@ -4,7 +4,7 @@
   },
   "inbounds": [
     {
-      "listen": "127.0.0.1",
+      "listen": "::1",
       "port": "1080",
       "protocol": "socks",
       "settings": {

+ 1 - 1
All-in-One-fallbacks-Nginx/client.configs/Trojan-H2-TLS.jsonc

@@ -4,7 +4,7 @@
   },
   "inbounds": [
     {
-      "listen": "127.0.0.1",
+      "listen": "::1",
       "port": "1080",
       "protocol": "socks",
       "settings": {

+ 1 - 1
All-in-One-fallbacks-Nginx/client.configs/Trojan-TCP-TLS.jsonc

@@ -4,7 +4,7 @@
   },
   "inbounds": [
     {
-      "listen": "127.0.0.1",
+      "listen": "::1",
       "port": "1080",
       "protocol": "socks",
       "settings": {

+ 1 - 1
All-in-One-fallbacks-Nginx/client.configs/Trojan-WS-TLS.jsonc

@@ -4,7 +4,7 @@
   },
   "inbounds": [
     {
-      "listen": "127.0.0.1",
+      "listen": "::1",
       "port": "1080",
       "protocol": "socks",
       "settings": {

+ 1 - 1
All-in-One-fallbacks-Nginx/client.configs/Trojan-gRPC-TLS.jsonc

@@ -4,7 +4,7 @@
   },
   "inbounds": [
     {
-      "listen": "127.0.0.1",
+      "listen": "::1",
       "port": "1080",
       "protocol": "socks",
       "settings": {

+ 1 - 1
All-in-One-fallbacks-Nginx/client.configs/VMESS-H2-TLS.jsonc

@@ -4,7 +4,7 @@
   },
   "inbounds": [
     {
-      "listen": "127.0.0.1",
+      "listen": "::1",
       "port": "1080",
       "protocol": "socks",
       "settings": {

+ 1 - 1
All-in-One-fallbacks-Nginx/client.configs/VMESS-TCP-TLS.jsonc

@@ -4,7 +4,7 @@
   },
   "inbounds": [
     {
-      "listen": "127.0.0.1",
+      "listen": "::1",
       "port": "1080",
       "protocol": "socks",
       "settings": {

+ 1 - 1
All-in-One-fallbacks-Nginx/client.configs/VMESS-WS-TLS.jsonc

@@ -4,7 +4,7 @@
   },
   "inbounds": [
     {
-      "listen": "127.0.0.1",
+      "listen": "::1",
       "port": "1080",
       "protocol": "socks",
       "settings": {

+ 1 - 1
All-in-One-fallbacks-Nginx/client.configs/VMESS-gRPC-TLS.jsonc

@@ -4,7 +4,7 @@
   },
   "inbounds": [
     {
-      "listen": "127.0.0.1",
+      "listen": "::1",
       "port": "1080",
       "protocol": "socks",
       "settings": {

+ 1 - 1
All-in-One-fallbacks-Nginx/client.configs/Vless-H2-TLS.jsonc

@@ -4,7 +4,7 @@
   },
   "inbounds": [
     {
-      "listen": "127.0.0.1",
+      "listen": "::1",
       "port": "1080",
       "protocol": "socks",
       "settings": {

+ 1 - 1
All-in-One-fallbacks-Nginx/client.configs/Vless-TCP-TLS.jsonc

@@ -4,7 +4,7 @@
   },
   "inbounds": [
     {
-      "listen": "127.0.0.1",
+      "listen": "::1",
       "port": "1080",
       "protocol": "socks",
       "settings": {

+ 1 - 1
All-in-One-fallbacks-Nginx/client.configs/Vless-TCP-XTLS.jsonc

@@ -4,7 +4,7 @@
   },
   "inbounds": [
     {
-      "listen": "127.0.0.1",
+      "listen": "::1",
       "port": "1080",
       "protocol": "socks",
       "settings": {

+ 1 - 1
All-in-One-fallbacks-Nginx/client.configs/Vless-WS-TLS.jsonc

@@ -4,7 +4,7 @@
   },
   "inbounds": [
     {
-      "listen": "127.0.0.1",
+      "listen": "::1",
       "port": "1080",
       "protocol": "socks",
       "settings": {

+ 1 - 1
All-in-One-fallbacks-Nginx/client.configs/Vless-gRPC-TLS.jsonc

@@ -4,7 +4,7 @@
   },
   "inbounds": [
     {
-      "listen": "127.0.0.1",
+      "listen": "::1",
       "port": "1080",
       "protocol": "socks",
       "settings": {

+ 4 - 4
All-in-One-fallbacks-Nginx/nginx.conf

@@ -49,7 +49,7 @@ server {
         client_body_buffer_size 1m;
         client_body_timeout 1h;
         client_max_body_size 0;
-        grpc_pass grpc://127.0.0.1:3001;
+        grpc_pass grpc://[::1]:3001;
 
     }
 
@@ -61,7 +61,7 @@ server {
         client_body_buffer_size 1m;
         client_body_timeout 1h;
         client_max_body_size 0;
-        grpc_pass grpc://127.0.0.1:3002;
+        grpc_pass grpc://[::1]:3002;
 
     }
 
@@ -73,7 +73,7 @@ server {
         client_body_buffer_size 1m;
         client_body_timeout 1h;
         client_max_body_size 0;
-        grpc_pass grpc://127.0.0.1:3003;
+        grpc_pass grpc://[::1]:3003;
 
     }
     
@@ -85,6 +85,6 @@ server {
         client_body_buffer_size 1m;
         client_body_timeout 1h;
         client_max_body_size 0;
-        grpc_pass grpc://127.0.0.1:3004;
+        grpc_pass grpc://[::1]:3004;
     }
 }

+ 10 - 10
All-in-One-fallbacks-Nginx/server.jsonc

@@ -27,11 +27,11 @@
   },
   "inbounds": [
     {
-      "listen": "127.0.0.1",
+      "listen": "::1",
       "port": 62789,
       "protocol": "dokodemo-door",
       "settings": {
-        "address": "127.0.0.1"
+        "address": "::1"
       },
       "tag": "api",
       "sniffing": null
@@ -257,7 +257,7 @@
     },
     {
       "tag": "shadowsocks-ws",
-      "listen": "127.0.0.1",
+      "listen": "::1",
       "port": 4001,
       "protocol": "shadowsocks",
       "settings": {
@@ -394,7 +394,7 @@
     },
     {
       "tag": "shadowsocks-tcp",
-      "listen": "127.0.0.1",
+      "listen": "::1",
       "port": 4002,
       "protocol": "shadowsocks",
       "settings": {
@@ -430,7 +430,7 @@
     ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
     {
       "tag": "trojan-grpc",
-      "listen": "127.0.0.1", // listen on localhost
+      "listen": "::1", // listen on localhost
       "port": 3001,
       "protocol": "trojan",
       "settings": {
@@ -452,7 +452,7 @@
     },
     {
       "tag": "vless-grpc",
-      "listen": "127.0.0.1", // listen on localhost
+      "listen": "::1", // listen on localhost
       "port": 3002,
       "protocol": "vless",
       "settings": {
@@ -475,7 +475,7 @@
     },
     {
       "tag": "vmess-grpc",
-      "listen": "127.0.0.1", // listen on localhost
+      "listen": "::1", // listen on localhost
       "port": 3003,
       "protocol": "vmess",
       "settings": {
@@ -496,7 +496,7 @@
       }
     },
     {
-      "listen": "127.0.0.1", //Only listen on localhost
+      "listen": "::1", //Only listen on localhost
       "port": 3004,
       "protocol": "shadowsocks",
       "settings": {
@@ -599,7 +599,7 @@
     },
     {
       "tag": "shadowsocks-h2",
-      "listen": "127.0.0.1",
+      "listen": "::1",
       "port": 4003,
       "protocol": "shadowsocks",
       "settings": {
@@ -692,7 +692,7 @@
       "tag": "DNS-Internal",
       "protocol": "dns",
       "settings": {
-        "address": "127.0.0.53",
+        "address": "::1",
         "port": 53
       }
     }

+ 3 - 3
MITM-Domain-Fronting/config.jsonc

@@ -6,7 +6,7 @@
         // 请求在该入站中被解密
         {
             "port": 4431,
-            "listen": "127.0.0.1",
+            "listen": "::1",
             "tag": "tls-decrypt",
             "protocol": "dokodemo-door",
             "settings": {
@@ -40,7 +40,7 @@
         // 真正用到的入站
         {
             "port": 10801,
-            "listen": "127.0.0.1",
+            "listen": "::1",
             "tag": "socks-in",
             "protocol": "socks",
             "sniffing": {
@@ -59,7 +59,7 @@
             "tag": "redirect-out",
             "protocol": "freedom",
             "settings": {
-                "redirect": "127.0.0.1:4431"
+                "redirect": "[::1]:4431"
             }
         },
         // 明文请求在这里被重新加密为正常 HTTPS 请求

+ 3 - 3
ReverseProxy/Shadowsocks-2022/client.jsonc

@@ -14,17 +14,17 @@
   },
   "inbounds": [
     {
-      "listen": "127.0.0.1",
+      "listen": "::1",
       "port": "2080",
       "protocol": "socks",
       "settings": {
         "auth": "noauth",
         "udp": true,
-        "ip": "127.0.0.1"
+        "ip": "::1"
       }
     },
     {
-      "listen": "127.0.0.1",
+      "listen": "::1",
       "port": "2081",
       "protocol": "http"
     }

+ 3 - 3
ReverseProxy/VLESS-TCP-XTLS-WS/client_tcp.jsonc

@@ -14,17 +14,17 @@
   },
   "inbounds": [
     {
-      "listen": "127.0.0.1",
+      "listen": "::1",
       "port": "2080",
       "protocol": "socks",
       "settings": {
         "auth": "noauth",
         "udp": true,
-        "ip": "127.0.0.1"
+        "ip": "::1"
       }
     },
     {
-      "listen": "127.0.0.1",
+      "listen": "::1",
       "port": "2081",
       "protocol": "http"
     }

+ 3 - 3
ReverseProxy/VLESS-TCP-XTLS-WS/client_ws.jsonc

@@ -14,17 +14,17 @@
   },
   "inbounds": [
     {
-      "listen": "127.0.0.1",
+      "listen": "::1",
       "port": "2080",
       "protocol": "socks",
       "settings": {
         "auth": "noauth",
         "udp": true,
-        "ip": "127.0.0.1"
+        "ip": "::1"
       }
     },
     {
-      "listen": "127.0.0.1",
+      "listen": "::1",
       "port": "2081",
       "protocol": "http"
     }

+ 1 - 1
ReverseProxy/VLESS-TCP-XTLS-WS/nginx.conf

@@ -33,7 +33,7 @@ http {
     #gzip  on;
 
     server {
-        listen 127.0.0.1:80;
+        listen [::1]:80;
         server_name yourserver_80.com;
 
         charset utf-8;

+ 2 - 2
ReverseProxy/VLESS-TCP-XTLS-WS/portal.jsonc

@@ -60,7 +60,7 @@
     {
       "tag": "externalws",
       "port": 65511,
-      "listen": "127.0.0.1",
+      "listen": "::1",
       "protocol": "vless",
       "settings": {
         "clients": [
@@ -84,7 +84,7 @@
     {
       "tag": "interconn",
       "port": 65510,
-      "listen": "127.0.0.1",
+      "listen": "::1",
       "protocol": "vless",
       "settings": {
         "clients": [

+ 3 - 3
ReverseProxy/Vmess-TCP/client.jsonc

@@ -14,17 +14,17 @@
     },
     "inbounds": [
         {
-            "listen": "127.0.0.1",
+            "listen": "::1",
             "port": "2080",
             "protocol": "socks",
             "settings": {
                 "auth": "noauth",
                 "udp": true,
-                "ip": "127.0.0.1"
+                "ip": "::1"
             }
         },
         {
-            "listen": "127.0.0.1",
+            "listen": "::1",
             "port": "2081",
             "protocol": "http"
         }

+ 2 - 2
Serverless-for-Iran/serverless_with_mitm_for_Iran.jsonc

@@ -109,14 +109,14 @@
       "tag": "redirect-out-h11",
       "protocol": "freedom",
       "settings": {
-        "redirect": "127.0.0.1:4431"
+        "redirect": "[::1]:4431"
       }
     },
     {
       "tag": "redirect-out-h211",
       "protocol": "freedom",
       "settings": {
-        "redirect": "127.0.0.1:4432"
+        "redirect": "[::1]:4432"
       }
     },
     {

+ 3 - 3
Shadowsocks-TCP/client.jsonc

@@ -16,17 +16,17 @@
     },
     "inbounds": [
         {
-            "listen": "127.0.0.1",
+            "listen": "::1",
             "port": "1080",
             "protocol": "socks",
             "settings": {
                 "auth": "noauth",
                 "udp": true,
-                "ip": "127.0.0.1"
+                "ip": "::1"
             }
         },
         {
-            "listen": "127.0.0.1",
+            "listen": "::1",
             "port": "1081",
             "protocol": "http"
         }

+ 3 - 3
Socks5-TLS/config_client.jsonc

@@ -16,17 +16,17 @@
     },
     "inbounds": [
         {
-            "listen": "127.0.0.1",
+            "listen": "::1",
             "port": "1080",
             "protocol": "socks",
             "settings": {
                 "auth": "noauth",
                 "udp": true,
-                "ip": "127.0.0.1"
+                "ip": "::1"
             }
         },
         {
-            "listen": "127.0.0.1",
+            "listen": "::1",
             "port": "1081",
             "protocol": "http"
         }

+ 1 - 1
Socks5-TLS/config_server.jsonc

@@ -28,7 +28,7 @@
                     }
                 ],
                 "udp": true,
-                "ip": "127.0.0.1"
+                "ip": "::1"
             },
             "streamSettings": {
                 "network": "tcp",

+ 1 - 1
Trojan-TCP-TLS (minimal)/config_client.jsonc

@@ -5,7 +5,7 @@
     "inbounds": [
         {
             "port": 10800,
-            "listen": "127.0.0.1",
+            "listen": "::1",
             "protocol": "socks",
             "settings": {
                 "udp": true

+ 1 - 1
Trojan-TCP-XTLS/config_client.jsonc

@@ -5,7 +5,7 @@
     "inbounds": [
         {
             "port": 1080,
-            "listen": "127.0.0.1",
+            "listen": "::1",
             "protocol": "socks",
             "settings": {
                 "udp": true

+ 1 - 1
Trojan-TCP-XTLS/nginx.conf

@@ -44,7 +44,7 @@ http {
 
         root         /usr/share/nginx/html;
 
-        set_real_ip_from 127.0.0.1;
+        set_real_ip_from ::1;
 
 
         include /etc/nginx/default.d/*.conf;

+ 1 - 1
VLESS-HTTP-Caddy/VLESS-H2C-Caddy/Caddyfile

@@ -6,7 +6,7 @@ xx.com {
     file_server
     tls CA.crt priv.key # 换成你的证书和私钥,绝对路径
     
-    reverse_proxy /path 127.0.0.1:2001 {
+    reverse_proxy /path [::1]:2001 {
         transport http {
             versions h2c
         }

+ 1 - 1
VLESS-HTTP-Caddy/VLESS-H2C-Caddy/server.jsonc

@@ -5,7 +5,7 @@
   "inbounds": [
     {
       "port": 2001,
-      "listen": "127.0.0.1",
+      "listen": "::1",
       "protocol": "vless",
       "settings": {
         "clients": [

+ 1 - 1
VLESS-HTTP-Caddy/VLESS-H3-Caddy/Caddyfile

@@ -6,7 +6,7 @@ xx.com {
     file_server
     tls CA.crt priv.key # 换成你的证书和私钥,绝对路径
     
-    reverse_proxy /path 127.0.0.1:2001 {
+    reverse_proxy /path [::1]:2001 {
         transport http {
             tls
             tls_client_auth CA.crt priv.key # 换成你的证书和私钥,绝对路径

+ 1 - 1
VLESS-HTTP-Caddy/VLESS-H3-Caddy/server.jsonc

@@ -5,7 +5,7 @@
   "inbounds": [
     {
       "port": 2001,
-      "listen": "127.0.0.1",
+      "listen": "::1",
       "protocol": "vless",
       "settings": {
         "clients": [

+ 1 - 1
VLESS-HTTP-Caddy/VLESS-H3-To-H2C-Caddy/Caddyfile

@@ -6,6 +6,6 @@ xx.com {
     file_server
     tls CA.crt priv.key # 换成你的证书和私钥,绝对路径
     
-    reverse_proxy /path h2c://127.0.0.1:2001 {
+    reverse_proxy /path h2c://[::1]:2001 {
     }
 }

+ 1 - 1
VLESS-HTTP-Caddy/VLESS-H3-To-H2C-Caddy/server.jsonc

@@ -5,7 +5,7 @@
   "inbounds": [
     {
       "port": 2001,
-      "listen": "127.0.0.1",
+      "listen": "::1",
       "protocol": "vless",
       "settings": {
         "clients": [

+ 2 - 2
VLESS-TCP-REALITY (without being stolen)/config_client.jsonc

@@ -5,7 +5,7 @@
     },
     "inbounds": [
         {
-            "listen": "127.0.0.1", 
+            "listen": "::1", 
             "port": 10808, 
             "protocol": "socks",
             "settings": {
@@ -28,7 +28,7 @@
             "settings": {
                 "vnext": [
                     {
-                        "address": "127.0.0.1", 
+                        "address": "::1", 
                         "port": 443, 
                         "users": [
                             {

+ 2 - 2
VLESS-TCP-REALITY (without being stolen)/config_server.jsonc

@@ -8,7 +8,7 @@
             "port": 443,
             "protocol": "dokodemo-door",
             "settings": {
-                "address": "127.0.0.1",
+                "address": "::1",
                 "port": 4431,  // 指向内网中的 reality 端口,示例是这个端口,如果要自己修改了记得这里和下面的 reality 入站都要修改
                 "network": "tcp"
             },
@@ -21,7 +21,7 @@
             }
         },
         {
-            "listen": "127.0.0.1",
+            "listen": "::1",
             "port": 4431, // 见上 如果和其他服务冲突了可以换
             "protocol": "vless",
             "settings": {

+ 1 - 1
VLESS-TCP-TLS (maximal by rprx)/config_client.jsonc

@@ -5,7 +5,7 @@
     "inbounds": [
         {
             "port": 10800,
-            "listen": "127.0.0.1",
+            "listen": "::1",
             "protocol": "socks",
             "settings": {
                 "udp": true

+ 1 - 1
VLESS-TCP-TLS (maximal by rprx)/nginx.conf

@@ -49,7 +49,7 @@ http {
         server_name  _;
         root         /usr/share/nginx/html;
 
-        set_real_ip_from 127.0.0.1;
+        set_real_ip_from ::1;
 
         # Load configuration files for the default server block.
         include /etc/nginx/default.d/*.conf;

+ 1 - 1
VLESS-TCP-TLS (minimal by rprx)/config_client.jsonc

@@ -5,7 +5,7 @@
     "inbounds": [
         {
             "port": 10800,
-            "listen": "127.0.0.1",
+            "listen": "::1",
             "protocol": "socks",
             "settings": {
                 "udp": true

+ 1 - 1
VLESS-TCP-TLS-WS (recommended)/config_client_tcp_tls.jsonc

@@ -5,7 +5,7 @@
     "inbounds": [
         {
             "port": 10800,
-            "listen": "127.0.0.1",
+            "listen": "::1",
             "protocol": "socks",
             "settings": {
                 "udp": true

+ 1 - 1
VLESS-TCP-TLS-WS (recommended)/config_client_ws_tls.jsonc

@@ -5,7 +5,7 @@
     "inbounds": [
         {
             "port": 10800,
-            "listen": "127.0.0.1",
+            "listen": "::1",
             "protocol": "socks",
             "settings": {
                 "udp": true

+ 1 - 1
VLESS-TCP-TLS-WS (recommended)/config_server.jsonc

@@ -44,7 +44,7 @@
         },
         {
             "port": 1234,
-            "listen": "127.0.0.1",
+            "listen": "::1",
             "protocol": "vless",
             "settings": {
                 "clients": [

+ 3 - 3
VLESS-TCP-TLS-proxy protocol/config_client.jsonc

@@ -4,17 +4,17 @@
     },
     "inbounds": [
         {
-            "listen": "127.0.0.1",
+            "listen": "::1",
             "port": "1080",
             "protocol": "socks",
             "settings": {
                 "auth": "noauth",
                 "udp": true,
-                "ip": "127.0.0.1"
+                "ip": "::1"
             }
         },
         {
-            "listen": "127.0.0.1",
+            "listen": "::1",
             "port": "1081",
             "protocol": "http"
         }

+ 3 - 3
VLESS-TCP-TLS-proxy protocol/nginx.conf

@@ -36,11 +36,11 @@ http {
     #gzip  on;
 
     server {
-        listen 127.0.0.1:8001 proxy_protocol;
-        listen 127.0.0.1:8002 http2 proxy_protocol;
+        listen [::1]:8001 proxy_protocol;
+        listen [::1]:8002 http2 proxy_protocol;
         server_name yourserver.com;
 
-        set_real_ip_from 127.0.0.1;
+        set_real_ip_from ::1;
 
         charset utf-8;
 

+ 3 - 3
VLESS-TCP-TLS/config_client.jsonc

@@ -4,17 +4,17 @@
     },
     "inbounds": [
         {
-            "listen": "127.0.0.1",
+            "listen": "::1",
             "port": "1080",
             "protocol": "socks",
             "settings": {
                 "auth": "noauth",
                 "udp": true,
-                "ip": "127.0.0.1"
+                "ip": "::1"
             }
         },
         {
-            "listen": "127.0.0.1",
+            "listen": "::1",
             "port": "1081",
             "protocol": "http"
         }

+ 2 - 2
VLESS-TCP-TLS/nginx.conf

@@ -33,8 +33,8 @@ http {
     #gzip  on;
 
     server {
-        listen 127.0.0.1:8001;
-        listen 127.0.0.1:8002 http2;
+        listen [::1]:8001;
+        listen [::1]:8002 http2;
         server_name yourserver.com;
 
         charset utf-8;

+ 1 - 1
VLESS-TCP-XTLS-Vision-REALITY/config_client.jsonc

@@ -4,7 +4,7 @@
     },
     "inbounds": [
         {
-            "listen": "127.0.0.1", 
+            "listen": "::1", 
             "port": 10808, 
             "protocol": "socks",
             "settings": {

+ 2 - 2
VLESS-TCP-XTLS-Vision/config_client.jsonc

@@ -25,7 +25,7 @@
     },
     "inbounds": [
         {
-            "listen": "127.0.0.1", // Fill in 0.0.0.0 to allow connections from LAN
+            "listen": "::1", // Fill in 0.0.0.0 to allow connections from LAN
             "port": 10808, // local socks listening port
             "protocol": "socks",
             "settings": {
@@ -40,7 +40,7 @@
             }
         },
         {
-            "listen": "127.0.0.1", // Fill in "0.0.0.0" to allow connections from LAN
+            "listen": "::1", // Fill in "0.0.0.0" to allow connections from LAN
             "port": 10809, // Local http listening port
             "protocol": "http",
             "sniffing": {

+ 3 - 3
VLESS-TCP-XTLS-Vision/nginx.conf

@@ -34,9 +34,9 @@ http {
     }
 
     server {
-        listen 127.0.0.1:8001 proxy_protocol;
-        listen 127.0.0.1:8002 http2 proxy_protocol;
-        set_real_ip_from 127.0.0.1;
+        listen [::1]:8001 proxy_protocol;
+        listen [::1]:8002 http2 proxy_protocol;
+        set_real_ip_from ::1;
 
         location / {
             sub_filter                         $proxy_host $host;

+ 3 - 3
VLESS-TCP/config_client.jsonc

@@ -4,17 +4,17 @@
     },
     "inbounds": [
         {
-            "listen": "127.0.0.1",
+            "listen": "::1",
             "port": "1080",
             "protocol": "socks",
             "settings": {
                 "auth": "noauth",
                 "udp": true,
-                "ip": "127.0.0.1"
+                "ip": "::1"
             }
         },
         {
-            "listen": "127.0.0.1",
+            "listen": "::1",
             "port": "1081",
             "protocol": "http"
         }

+ 1 - 1
VLESS-TCP/nginx.conf

@@ -33,7 +33,7 @@ http {
     #gzip  on;
 
     server {
-        listen 127.0.0.1:8001;
+        listen [::1]:8001;
         server_name yourserver_8001.com;
 
         charset utf-8;

+ 1 - 1
VLESS-TLS-SplitHTTP-CaddyNginx/Caddyfile

@@ -1,5 +1,5 @@
 localhost:443 {
 	handle /split/* {
-		reverse_proxy http://127.0.0.1:1234
+		reverse_proxy http://[::1]:1234
 	}
 }

+ 1 - 1
VLESS-TLS-SplitHTTP-CaddyNginx/client.jsonc

@@ -4,7 +4,7 @@
     },
     "inbounds": [
       {
-        "listen": "127.0.0.1",
+        "listen": "::1",
         "port": 10808,
         "protocol": "socks",
         "settings": {

+ 1 - 1
VLESS-TLS-SplitHTTP-CaddyNginx/nginx.conf

@@ -16,7 +16,7 @@ server {
         # access_log off;
 
         location /split {
-            proxy_pass http://127.0.0.1:1234;
+            proxy_pass http://[::1]:1234;
             proxy_http_version 1.1;
             proxy_redirect off;
         }

+ 1 - 1
VLESS-TLS-SplitHTTP-CaddyNginx/server.jsonc

@@ -4,7 +4,7 @@
     },
     "inbounds": [
       {
-        "listen": "127.0.0.1",
+        "listen": "::1",
         "port": 1234,
         "protocol": "vless",
         "settings": {

+ 1 - 1
VLESS-TLS-SplitHTTP-H3/client.jsonc

@@ -10,7 +10,7 @@
                 ]
             },
             "port": 10808,
-            "listen": "127.0.0.1",
+            "listen": "::1",
             "protocol": "socks",
             "settings": {
                 "udp": true

+ 1 - 1
VLESS-WSS-Nginx/nginx.conf

@@ -16,7 +16,7 @@ server {
 	if ($http_upgrade != "websocket") {
 		return 404;
 	}
-        proxy_pass http://127.0.0.1:1234;
+        proxy_pass http://[::1]:1234;
 	proxy_redirect off;
         proxy_http_version 1.1;
         proxy_set_header Upgrade $http_upgrade;

+ 1 - 1
VLESS-WSS-Nginx/server.jsonc

@@ -4,7 +4,7 @@
   },
   "inbounds": [
     {
-      "listen": "127.0.0.1",
+      "listen": "::1",
       "port": 1234 ,
       "protocol": "vless",
       "settings": {

+ 3 - 3
VLESS-gRPC-REALITY/config_client.jsonc

@@ -8,7 +8,7 @@
         {
             "tag": "socks",
             "port": 800,
-            "listen": "127.0.0.1",
+            "listen": "::1",
             "protocol": "socks",
             "sniffing": {
                 "enabled": true,
@@ -24,7 +24,7 @@
         {
             "tag": "http",
             "port": 801,
-            "listen": "127.0.0.1",
+            "listen": "::1",
             "protocol": "http",
             "sniffing": {
                 "enabled": true,
@@ -113,7 +113,7 @@
                 "id": "5708766234462982042",
                 "type": "field",
                 "outboundTag": "direct",
-                "ip": ["127.0.0.1", "192.168.1.1"],
+                "ip": ["::1", "192.168.1.1"],
                 "enabled": true
             },
             {

+ 1 - 1
VLESS-mKCPSeed/config_client.jsonc

@@ -5,7 +5,7 @@
     "inbounds": [
         {
             "port": 1080,
-            "listen": "127.0.0.1",
+            "listen": "::1",
             "protocol": "socks",
             "settings": {
                 "udp": true

+ 3 - 3
VMess-HTTP/config_client.jsonc

@@ -16,17 +16,17 @@
     },
     "inbounds": [
         {
-            "listen": "127.0.0.1",
+            "listen": "::1",
             "port": "1080",
             "protocol": "socks",
             "settings": {
                 "auth": "noauth",
                 "udp": true,
-                "ip": "127.0.0.1"
+                "ip": "::1"
             }
         },
         {
-            "listen": "127.0.0.1",
+            "listen": "::1",
             "port": "1081",
             "protocol": "http"
         }

+ 3 - 3
VMess-HTTP2/config_client.jsonc

@@ -16,17 +16,17 @@
     },
     "inbounds": [
         {
-            "listen": "127.0.0.1",
+            "listen": "::1",
             "port": "1080",
             "protocol": "socks",
             "settings": {
                 "auth": "noauth",
                 "udp": true,
-                "ip": "127.0.0.1"
+                "ip": "::1"
             }
         },
         {
-            "listen": "127.0.0.1",
+            "listen": "::1",
             "port": "1081",
             "protocol": "http"
         }

+ 3 - 3
VMess-TCP-TLS/config_client.jsonc

@@ -16,17 +16,17 @@
     },
     "inbounds": [
         {
-            "listen": "127.0.0.1",
+            "listen": "::1",
             "port": "1080",
             "protocol": "socks",
             "settings": {
                 "auth": "noauth",
                 "udp": true,
-                "ip": "127.0.0.1"
+                "ip": "::1"
             }
         },
         {
-            "listen": "127.0.0.1",
+            "listen": "::1",
             "port": "1081",
             "protocol": "http"
         }

+ 3 - 3
VMess-TCP/config_client.jsonc

@@ -16,17 +16,17 @@
     },
     "inbounds": [
         {
-            "listen": "127.0.0.1",
+            "listen": "::1",
             "port": "1080",
             "protocol": "socks",
             "settings": {
                 "auth": "noauth",
                 "udp": true,
-                "ip": "127.0.0.1"
+                "ip": "::1"
             }
         },
         {
-            "listen": "127.0.0.1",
+            "listen": "::1",
             "port": "1081",
             "protocol": "http"
         }

+ 3 - 3
VMess-Websocket-TLS/config_client.jsonc

@@ -16,17 +16,17 @@
     },
     "inbounds": [
         {
-            "listen": "127.0.0.1",
+            "listen": "::1",
             "port": "1080",
             "protocol": "socks",
             "settings": {
                 "auth": "noauth",
                 "udp": true,
-                "ip": "127.0.0.1"
+                "ip": "::1"
             }
         },
         {
-            "listen": "127.0.0.1",
+            "listen": "::1",
             "port": "1081",
             "protocol": "http"
         }

+ 3 - 3
VMess-Websocket/config_client.jsonc

@@ -16,17 +16,17 @@
     },
     "inbounds": [
         {
-            "listen": "127.0.0.1",
+            "listen": "::1",
             "port": "1080",
             "protocol": "socks",
             "settings": {
                 "auth": "noauth",
                 "udp": true,
-                "ip": "127.0.0.1"
+                "ip": "::1"
             }
         },
         {
-            "listen": "127.0.0.1",
+            "listen": "::1",
             "port": "1081",
             "protocol": "http"
         }

+ 1 - 1
VMess-mKCPSeed/config_client.jsonc

@@ -5,7 +5,7 @@
     "inbounds": [
         {
             "port": 1080,
-            "listen": "127.0.0.1",
+            "listen": "::1",
             "protocol": "socks",
             "settings": {
                 "udp": true