public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
From: Peter Foley <pefoley@google.com>
To: Stefano Brivio <sbrivio@redhat.com>
Cc: passt-dev@passt.top, Felix Wu <flwu@google.com>
Subject: Re: Support for equivalent to slirp guestfwd
Date: Thu, 26 Feb 2026 11:31:15 -0500	[thread overview]
Message-ID: <CAAAKUPOKFbB2yJr2oyJg2hm2a86wA_NKCHh2yhRL-i1wB=khkg@mail.gmail.com> (raw)
In-Reply-To: <20260226134736.7d5782bc@elisabeth>

[-- Attachment #1: Type: text/plain, Size: 1444 bytes --]

On Thu, Feb 26, 2026 at 7:47 AM Stefano Brivio <sbrivio@redhat.com> wrote:

>
> ...there's ongoing effort to make this more flexible, by adding support
> for generic NAT rules (https://bugs.passt.top/show_bug.cgi?id=140) so
> that you can specifically map different ports and addresses to
> specific ports and addresses. And do so dynamically, at runtime, too.
>
> We now have a rather generic "forwarding rules" table implementation,
> even if not entirely complete:
>
>
> https://archives.passt.top/passt-dev/20260116005926.616085-1-david@gibson.dropbear.id.au/
>
> and a very rudimentary draft of pesto(1), the client that would enable
> configuring all that at runtime (I'm working on it these days):
>
>
> https://archives.passt.top/passt-dev/20260204234209.455262-1-sbrivio@redhat.com/
>
> ...there's quite a bit left to do, and patches are warmly welcome.
>

Alright, that's about what I expected.

We currently heavily rely on stuff
like guestfwd=udp:[::]:1000-udp:[::1]:14418,
where we want to redirect all outbound traffic from the guest to port 1000
to a different dynamically allocated port where a server binary is
listening on the host.

We don't need runtime configuration, just the ability to specify everything
statically when starting qemu.

I can't promise anything, but I'll see if this is something other people on
my team would have cycles to help out with.

Thanks,

Peter Foley

[-- Attachment #2: Type: text/html, Size: 2289 bytes --]

  reply	other threads:[~2026-02-26 16:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-25 22:35 Peter Foley
2026-02-26 12:47 ` Stefano Brivio
2026-02-26 16:31   ` Peter Foley [this message]
2026-02-27 13:36     ` Stefano Brivio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAAAKUPOKFbB2yJr2oyJg2hm2a86wA_NKCHh2yhRL-i1wB=khkg@mail.gmail.com' \
    --to=pefoley@google.com \
    --cc=flwu@google.com \
    --cc=passt-dev@passt.top \
    --cc=sbrivio@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).