# NAT Logging via Traffic Flow-IPFix

**URL:** <https://forum.mikrotik.com/t/nat-logging-via-traffic-flow-ipfix/274271>\
**Category:** General\
**Created:** [November 4, 2026, 6:32pm UTC](https://forum.mikrotik.com/t/nat-logging-via-traffic-flow-ipfix/274271 "2026-11-04T18:32:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lanhampr](https://forum.mikrotik.com/letter_avatar/lanhampr/32/6_449c533f586939b6e5f246632a46421f.png) [@lanhampr](https://forum.mikrotik.com/u/lanhampr)\
**Post date:** [November 4, 2026, 6:32pm UTC](https://forum.mikrotik.com/t/nat-logging-via-traffic-flow-ipfix/274271/1 "2026-11-04T18:32:35Z")

</div>

I would like to utilize IPFix and Log NAT Events but I don't see the source MAC in the packet. Is there a way to include the source MAC?

---

<div class="post-metadata">

**Author:** ![aldek](https://forum.mikrotik.com/letter_avatar/aldek/32/6_449c533f586939b6e5f246632a46421f.png) [@aldek](https://forum.mikrotik.com/u/aldek)\
**Post date:** [November 4, 2026, 7:33pm UTC](https://forum.mikrotik.com/t/nat-logging-via-traffic-flow-ipfix/274271/2 "2026-11-04T19:33:23Z")

</div>

> [@lanhampr](#):
>
> Is there a way to include the source MAC?

`/ip traffic-flow ipfix set nat-events=yes ` **`src-mac-address=yes`** ` dst-mac-address=yes`

However, incoming (source) packets will still use the provider's MAC address...  
or outgoing packets with the MAC addresses of internal clients if they are connected directly to the router.

---

<div class="post-metadata">

**Author:** ![aldek](https://forum.mikrotik.com/letter_avatar/aldek/32/6_449c533f586939b6e5f246632a46421f.png) [@aldek](https://forum.mikrotik.com/u/aldek)\
**Post date:** [November 4, 2026, 7:48pm UTC](https://forum.mikrotik.com/t/nat-logging-via-traffic-flow-ipfix/274271/3 "2026-11-04T19:48:36Z")

</div>

> **[ip/traffic-flow/ipfix​ - ipfix | RouterOS Manual](https://manual.mikrotik.com/docs/cli-reference/ip/traffic-flow/ipfix/#ip-traffic-flow-ipfix)**
>
> Type: Settings Directory Select the fields included in IPFIX flow records. A row set to yes exports that field per flow. | -----------
