Replies: 3 comments
-
|
Seems to be fixed by not using an ad-hoc network and, instead, using AddHost at the pod level, pointing to host-gateway. Is this the recommended approach? |
Beta Was this translation helpful? Give feedback.
-
|
If you're using a recent version of Podman and rootless containers, you might want to check https://blog.podman.io/2024/10/podman-5-3-changes-for-improved-networking-experience-with-pasta/. |
Beta Was this translation helpful? Give feedback.
-
|
@sbrivio-rh Thank you for your answer: Seems I have walked the full circle to.... come back to the same issue :-/. The container is still rootless and I need to connect to a veth that I have on the host (10.255.255.1), but I cannot make it work. From a simple command line this is what I am doing: I have multiple containers that I am running with different users, all of them binding to 10.255.255.1. By doing this I hope to mitigate the possibility that, if an attacker manages to break out of the container, only that container will be impacted... but because the containers do not see each other I am having these other challenges. My objective is to let this container to reach 10.255.255.1 on the host, and nothing else. I am using podman 5.4. Do you know if this is possible? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I have the following files defining quadlets. My problem is that from the container I cannot connect back to the host. I am creating a new network because I have read that the bridge network that is already existing cannot be configured after started. I have added an option to that network, but... It is still not working and I cannot see what I am doing wrong:
~/.config/containers/systemd/podman-gitea-redis.container
~/.config/containers/systemd/podman-gitea-gitea.container
~/.config/containers/systemd/gitea.network
~/.config/containers/systemd/podman-gitea.pod
Beta Was this translation helpful? Give feedback.
All reactions