From 01e5a448e770edbe627a7f1cb2255b6610cae6db Mon Sep 17 00:00:00 2001 From: zonyitoo Date: Fri, 20 Oct 2023 22:18:00 +0800 Subject: [PATCH] feat(readme): updated launchd activate socket for socks4, http --- README.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7b46afd9d17d..c49c50a09ecf 100644 --- a/README.md +++ b/README.md @@ -556,7 +556,7 @@ Example configuration: "acl": "/path/to/acl/file.acl", // OPTIONAL. macOS launchd activate socket "launchd_tcp_socket_name": "TCPListener", - "launchd_udp_socket_name": "UDPListener", + "launchd_udp_socket_name": "UDPListener" }, { // SOCKS5, SOCKS4/4a local server @@ -570,7 +570,10 @@ Example configuration: // - TCP is enabled, then SOCKS5's UDP Association command will return this address // - UDP is enabled, then SOCKS5's UDP server will listen to this address. "local_udp_address": "127.0.0.1", - "local_udp_port": 2081 + "local_udp_port": 2081, + // OPTIONAL. macOS launchd activate socket + "launchd_tcp_socket_name": "TCPListener", + "launchd_udp_socket_name": "UDPListener" }, { // Tunnel local server (feature = "local-tunnel") @@ -583,14 +586,19 @@ Example configuration: "forward_address": "8.8.8.8", "forward_port": 53, // OPTIONAL. Customizing whether to start TCP and UDP tunnel - "mode": "tcp_only" + "mode": "tcp_only", + // OPTIONAL. macOS launchd activate socket + "launchd_tcp_socket_name": "TCPListener", + "launchd_udp_socket_name": "UDPListener" }, { // HTTP local server (feature = "local-http") "protocol": "http", // Listen address "local_address": "127.0.0.1", - "local_port": 3128 + "local_port": 3128, + // OPTIONAL. macOS launchd activate socket + "launchd_tcp_socket_name": "TCPListener" }, { // DNS local server (feature = "local-dns")