Forward $LOCAL_PORT
from the local machine (-L
), to $TARGET_HOST
on $TARGET_PORT
, relative to $REMOTE_HOST
:
(Traffic flows from localhost:$LOCAL_PORT
→ $REMOTE_HOST
→ $TARGET_HOST:$TARGET_PORT
.)
Search
July 31, 20241 min read
Forward $LOCAL_PORT
from the local machine (-L
), to $TARGET_HOST
on $TARGET_PORT
, relative to $REMOTE_HOST
:
(Traffic flows from localhost:$LOCAL_PORT
→ $REMOTE_HOST
→ $TARGET_HOST:$TARGET_PORT
.)