update socat

This commit is contained in:
seiry 2023-04-10 23:15:54 +08:00
parent dac42498ed
commit 5fbf044d4c
No known key found for this signature in database
GPG Key ID: 1F392C1EF1F7DCB8
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ done
warp-cli --accept-tos set-mode proxy warp-cli --accept-tos set-mode proxy
warp-cli --accept-tos set-proxy-port 40001 warp-cli --accept-tos set-proxy-port 40001
warp-cli --accept-tos connect warp-cli --accept-tos connect
socat TCP-IP:localhost:40001:fork,ipv6=on TCP-IP:0.0.0.0:40000 # socat is used to redirect traffic from 40000 to 40001 socat TCP-LISTEN:40000,fork TCP:localhost:40001 # socat is used to redirect traffic from 40000 to 40001
) & ) &
exec warp-svc exec warp-svc