public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH v2 0/2] Allow users to give source address with --gateway also for IPv6
@ 2026-07-23 15:16 Stefano Brivio
  2026-07-23 15:16 ` [PATCH v2 1/2] conf: Honour --address, --gateway, --netmask in local mode as well Stefano Brivio
  2026-07-23 15:16 ` [PATCH v2 2/2] conf, fwd: Prefer same-scope address as inbound source address from host Stefano Brivio
  0 siblings, 2 replies; 3+ messages in thread
From: Stefano Brivio @ 2026-07-23 15:16 UTC (permalink / raw)
  To: passt-dev; +Cc: Jan Rodák, Paul Holzinger, David Gibson

...just like it happens with IPv4. This offers a solution for
https://bugs.passt.top/show_bug.cgi?id=217, as Podman can specify
--address and --gateway for IPv6, and provide a unique local address,
without the need to introduce other options.

Further options might be more appropriate, strictly speaking, but
as the future perspective is to eventually generalise NAT tables,
it would be nice to avoid them right now.

v2: In 2/2, use the address passed as --gateway as source for inbound
    NAT from the host also when we're not in local mode

Stefano Brivio (2):
  conf: Honour --address, --gateway, --netmask in local mode as well
  conf, fwd: Prefer same-scope address as inbound source address from
    host

 conf.c  | 25 +++++++++++++++++++++----
 fwd.c   |  6 +++++-
 passt.h |  2 ++
 3 files changed, 28 insertions(+), 5 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-07-23 15:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-23 15:16 [PATCH v2 0/2] Allow users to give source address with --gateway also for IPv6 Stefano Brivio
2026-07-23 15:16 ` [PATCH v2 1/2] conf: Honour --address, --gateway, --netmask in local mode as well Stefano Brivio
2026-07-23 15:16 ` [PATCH v2 2/2] conf, fwd: Prefer same-scope address as inbound source address from host Stefano Brivio

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).