Basic OSPF setup.
/interface bridge add name=loopback /interface bridge settings set use-ip-firewall=yes /ip address add address=18.104.22.168/32 interface=loopback add address=10.100.100.117/29 interface=ether1-gateway add address=10.212.1.1/29 interface=ether2-south_tower add address=10.212.8.1/24 interface=ether3-north_AP /ip route add gateway=10.100.100.113
I got OSPF working. I then added a NAT rule to the configuration.
/routing ospf interface add network-type=broadcast passive=yes add authentication=md5 authentication-key=myOSPFkey interface=ether1-gateway network-type=broadcast priority=0 add authentication=md5 authentication-key=myOSPFkey interface=ether2-south_tower network-type=broadcast priority=0
After adding my nat statement my OSPF neighbor is lost. I have tried adding protocol=!ospf dst-address-type=unicast out-interface=ether1-gateway to my nat statement. I have also added 22.214.171.124/23 and 255.255.255.255 to the my_network address list. I have tried several router OS versions and different routerboard models.
/ip firewall address-list add list=my_network address=10.0.0.0/8 add list=my_network address=126.96.36.199/24 /ip firewall nat add action=src-nat chain=srcnat dst-address-list=!my_network src-address=10.0.0.0/8 to-addresses=188.8.131.52
My conclusion is the nat statement is matching the osfp traffic.