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
This commit is contained in:
@@ -125,7 +125,7 @@ create_service() {
|
|||||||
;;
|
;;
|
||||||
7)
|
7)
|
||||||
PROTO="udp4to6"
|
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)
|
8)
|
||||||
PROTO="udp6to4"
|
PROTO="udp6to4"
|
||||||
|
|||||||
Reference in New Issue
Block a user