netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Query on nftables DNAT for localhost-to-localhost traffic in IPv6 or without route_localnet
@ 2025-07-31 22:59 Antonio Ojea
  2025-08-04  8:25 ` Florian Westphal
  0 siblings, 1 reply; 6+ messages in thread
From: Antonio Ojea @ 2025-07-31 22:59 UTC (permalink / raw)
  To: netfilter

Hi,

We (kubernetes) are currently exploring options for port forwarding
traffic that originates from localhost and is also destined for
localhost, to redirect it to a different destination IP address and
port [1].

We can use the route_localnet sysctl parameter, however, that does not
work for IPv6.

We are trying to avoid solutions that rely on eBPF or userspace
proxies to reduce the maintenance load, and hoping to find a solution
within the kernel's networking stack.

Any guidance or suggestions you could provide would be greatly appreciated.

[1]: https://github.com/kubernetes/kubernetes/issues/132955

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

end of thread, other threads:[~2025-08-18 16:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-31 22:59 Query on nftables DNAT for localhost-to-localhost traffic in IPv6 or without route_localnet Antonio Ojea
2025-08-04  8:25 ` Florian Westphal
2025-08-11 20:08   ` Pablo Neira Ayuso
2025-08-12 11:17     ` Florian Westphal
2025-08-12 12:18       ` Pablo Neira Ayuso
2025-08-18 16:11         ` Antonio Ojea

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 NNTP newsgroup(s).