Skip to content

Broadcast UDP traffic does not reach container via port forwarding #1466

Description

@rgov

A system on my network broadcasts UDP packets to 10.100.100.255:10600. I run a container with -p 10600:10600/udp intending to receive the traffic.

On Podman with netavark, the traffic is not delivered. The nftables rule includes type local so it ignores broadcast or multicast traffic.

	chain PREROUTING {
		type nat hook prerouting priority dstnat; policy accept;
		fib daddr type local jump NETAVARK-HOSTPORT-DNAT
	}

On Docker with docker run --rm -it -p 10600:10600/udp ubuntu:26.04, running socat UDP-LISTEN:10600 -, the packets do get delivered to the container.

Ubuntu 26.04, netavark 1.16.1-3.1, podman 5.7.0+ds2-3build1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions