Skip to content
Discussion options

You must be logged in to vote

In rootless containers, the network namespace starts with ip_forward=0 by default. Use --sysctl net.ipv4.ip_forward=1 when creating the container: podman run --sysctl net.ipv4.ip_forward=1 <image>. This enables packet forwarding inside the container for your TAP interface NAT setup.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Gerharddc
Comment options

@Gerharddc
Comment options

Answer selected by Gerharddc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants