(resolved) routing docker IPVLAN L3. Traffic goes out, but the is no return.

Started by julcol, February 25, 2025, 04:00:35 PM

Previous topic - Next topic
February 25, 2025, 04:00:35 PM Last Edit: February 25, 2025, 04:08:27 PM by julcol Reason: Resolved. Selected LAN interface instead of WAN. Now it works.

Hi,

I am setting up some container  in a docker IPVLAN L3, within a host.
I have added my host as a gateway for the subnet, in opnsense. (lesson learned)
I have added an explicit outbound NAT rule with source address my docker network  subnet and translation target my WAN net

Ping will lose 100% of traffic.
All outgoing connections get stuck.

I can see all my outgoing traffic in green and matched against a rules in firewall. There is no blocked traffic.

Can you guys help me figure out what am I missing ?

Thanks.

JC

Quote from: julcol on February 25, 2025, 04:00:35 PMI have added an explicit outbound NAT rule with source address my docker network  subnet and translation target my WAN net
WAN address!

The source address in outbound Pakets need to be translated to the WAN IP.