From c114a10f5f3a25510d59d747f47ede239bb81d84 Mon Sep 17 00:00:00 2001 From: CN-JS-HuiBai Date: Tue, 3 Feb 2026 16:12:28 +0800 Subject: [PATCH] Fix UDP protocol command typo in socat_tools.sh - Changed UDP4 to UDP in protocol option 7 for correct IPv4 forwarding - Maintained existing functionality while fixing socat command syntax --- Forward-Tools/socat_tools.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Forward-Tools/socat_tools.sh b/Forward-Tools/socat_tools.sh index bba6b50..febf80b 100644 --- a/Forward-Tools/socat_tools.sh +++ b/Forward-Tools/socat_tools.sh @@ -125,7 +125,7 @@ create_service() { ;; 7) PROTO="udp4to6" - SOCAT_CMD="UDP6-LISTEN:${LOCAL_PORT},reuseaddr,fork UDP4:${TARGET_IP}:${TARGET_PORT}" + SOCAT_CMD="UDP6-LISTEN:${LOCAL_PORT},reuseaddr,fork UDP:${TARGET_IP}:${TARGET_PORT}" ;; 8) PROTO="udp6to4"