L,

did you get your question answered? If not perhaps give us a better description of what you are trying to do?

On Wed, Feb 2, 2022 at 8:48 AM Rudolf Vesely via Podman <podman@lists.podman.io> wrote:
Hi lejeczek,

Are your trying to access a process listening on localhost from outside with configured iptables / nftables PREROUTING? That works / doesn't work on different distributions since they have different default configuration for net.ipv4.conf.ens3.route_localnet. More info:

https://superuser.com/questions/661772/iptables-redirect-to-localhost

Kind regards,
Rudolf Vesely

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On Wednesday, February 2nd, 2022 at 2:18 PM, Daniel Walsh <dwalsh@redhat.com> wrote:

> On 2/2/22 06:55, lejeczek via Podman wrote:
>
> > Hi guys.
> >
> > If I remember correctly both root full & less containers could
> >
> > talk(cni net) to localhost which was the host itself - was the removed
> >
> > recently or my memory fails me and that never worked? (if so then why?)
> >
> > many thanks, L
> >
> > Podman mailing list -- podman@lists.podman.io
> >
> > To unsubscribe send an email to podman-leave@lists.podman.io
>
> Not sure what you mean by your question, but nothing has been removed.
>
> podman run --net=host ...
>
> Will allow the local network interfaces into the container.
>
> Podman mailing list -- podman@lists.podman.io
>
> To unsubscribe send an email to podman-leave@lists.podman.io
_______________________________________________
Podman mailing list -- podman@lists.podman.io
To unsubscribe send an email to podman-leave@lists.podman.io