-
-
Notifications
You must be signed in to change notification settings - Fork 178
Closed
Labels
Description
Hello,
We recently deployed warpgate at work. It's all together great, but we're running in to the following issue:
Given a service listening on an UNIX socket. For example:
user@target $ socat UNIX-LISTEN:/tmp/test.sock,reuseaddr,fork STDOUT
A direct SSH connection with a local forwarding rule to the target host works:
ssh -L 127.0.0.1:5901:/tmp/test.sock 'user@target'
echo "ok" | socat STDIN TCP4-CONNECT:127.0.0.1:5901
# "ok" printed on target
However, when connecting through warpgate:
ssh -L 127.0.0.1:5901:/tmp/test.sock 'warpuser:target@warpserver' -p 2222
echo "ok" | socat STDIN TCP4-CONNECT:127.0.0.1:5901
# channel 2: open failed: unknown channel type: Unknown channel type
Forwarding between INET sockets (e.g. -L 9999:localhost:9999
) works as expected. It would be convenient if it also worked for UNIX sockets.
Thanks,
Georgi