Skip to content

Plain mode: support port forwarding (opt-in) #2962

Open
@AkihiroSuda

Description

@AkihiroSuda

limactl create --plain is useful to disable Lima's opinionated extensions, but it still makes sense to allow port forwarding as an opt-in feature.

In the case of plain mode, the port list should be obtained from the explicit list in YAML/CLI, not from the guest agent (which shouldn't be running at all in the case of plain mode).

Workaround

The current workaround is to run ssh -L manually:

ssh -q -f -N -L 6443:127.0.0.1:6443 -F ~/.lima/host0/ssh.config lima-host0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions