containers / gvisor-tap-vsock

A new network stack based on gVisor
Apache License 2.0
269 stars 50 forks source link

gvproxy: Cannot disable 'ssh-port' forwarding #402

Closed cfergeau closed 1 month ago

cfergeau commented 1 month ago

When starting gvproxy, if -ssh-port is not specified, host port 2222 will be opened and will link to port 22 in the VM. In some cases, it could be desirable to disable this entirely. This could be done by passing -1 as the port number. I prefer not to change the behaviour of gvproxy when --ssh-port is not specified out of backwards compat concerns.

cfergeau commented 1 month ago

This would be useful in https://github.com/containers/podman/issues/20327

cfergeau commented 1 month ago

This has been fixed by #403