Use macvlan to receive directly external traffic

Hi,

I am interested in learning how to forward all external traffic directly to a container, without utilizing the “host” network mode, but rather by leveraging the use of Macvlan.
The objective behind this request is to enable the utilization of Snort within a Docker container to monitor port scanning activities on the host. Although the network mode host achieves the desired behavior, I would like to explore the possibility of achieving similar functionality by employing Macvlan, if possibile.

Thank you in advance.