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

Port forward should be able to expose a port on a unix socket on the host #41

Closed
guillaumerose opened this issue Sep 10, 2021 · 3 comments

Comments

@guillaumerose
Copy link
Contributor

Currently, only TCP port to TCP port forwarding is working. It would a great addition if a TCP port of the VM could be reachable on the host via an Unix socket.

Example usage:
Podman API can run on port 2375 and gvproxy can expose it as /var/run/docker.sock on the host.

@ghost
Copy link

ghost commented Dec 27, 2021

Edit: Was simple to implement. Submitted PR #77

@guillaumerose, my PR needs a code review.

@ghost
Copy link

ghost commented Jan 1, 2022

Updated PR to also support unix-to-unix over SSH.

This approach opens up the ability to have the podman machine completely accessible in the forwarder service. Perhaps refactoring to remove stuff like the ssh bastion code and gvproxy ssh forwarder can be considered.

@guillaumerose
Copy link
Contributor Author

First part is merged (unix to tcp) #89

The second part is still WIP.

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

No branches or pull requests

1 participant