Change port forwarder to socat
This commit is contained in:
@ -6,6 +6,6 @@ sleep 3s
|
||||
|
||||
while true
|
||||
do
|
||||
ssh -o "ExitOnForwardFailure yes" -NL 2200:192.168.80.240:22 localhost
|
||||
socat TCP-LISTEN:22,fork TCP:192.168.80.240:22
|
||||
sleep 1s
|
||||
done
|
Reference in New Issue
Block a user