canonical / canonical/multipass

Port forwarding (`multipass forward`)

Open
#309 38 comments 84 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
9.2k
Forks
828
Avg merge
3d 1h
Merged PRs (30d)
44

Description

Forwarding instance ports out onto multipassd's listening address(es):

```
# can pass multiple --forward rules
$ multipass launch --forward [:]
Port forwarding configured on:
Port : :

$ multipass forward [:]
Port forwarding configured on: :

$ multipass unforward [:] [[:] ...]

$ multipass info
[...]
Port forwarding:

```

Where it's possible / makes sense, use hypervisor for this, otherwise have multipassd listen.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the `multipass launch --forward`, `multipass forward`, `multipass unforward`, and `multipass info` entry points and the hypervisor networking integration. Define how multiple rules, default listening addresses, and removal should behave, then verify that configured forwarding is reported as shown.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.