OPNsense Forum

English Forums => 25.1, 25.4 Production Series => Topic started by: julcol on February 25, 2025, 04:00:35 PM

Title: (resolved) routing docker IPVLAN L3. Traffic goes out, but the is no return.
Post by: julcol on February 25, 2025, 04:00:35 PM

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
Title: Re: routing docker IPVLAN L3. Traffic goes out, but the is no return. 100% loss
Post by: viragomann on February 25, 2025, 04:11:06 PM
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.
Title: Re: (resolved) routing docker IPVLAN L3. Traffic goes out, but the is no return.
Post by: julcol on February 25, 2025, 04:39:24 PM
yes, sorry it was a typo. address.

Many Thanks !

JC