Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tailscale SSH: LocalForward to unix socket does not work #6441

Closed
jakob opened this issue Nov 22, 2022 · 1 comment
Closed

Tailscale SSH: LocalForward to unix socket does not work #6441

jakob opened this issue Nov 22, 2022 · 1 comment

Comments

@jakob
Copy link

jakob commented Nov 22, 2022

What is the issue?

I'm trying to open a tunnel to a PostgreSQL server listening on a unix socket.

This is probably related to #6232 (RemoteForward does not work for unix socket)

Steps to reproduce

Open an SSH tunnel with Tailscale SSH to the PostgreSQL server

ssh -L1234:/var/run/postgresql/.s.PGSQL.5432 postgres@100.x.x.x

Then try to connect to that server:

psql -h localhost -p 1234

Doesn't work, SSH says:

channel 3: open failed: unknown channel type: unsupported channel type

Are there any recent changes that introduced the issue?

No response

OS

Linux, macOS

OS version

No response

Tailscale version

1.32.3

Bug report

No response

@DentonGentry
Copy link
Contributor

I think we'll cover this case in #6232 as well, both would be resolved by port forwarding to unix sockets.

Dup of #6232

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants