Local IP block for Wan

How to block local IPs adress to access internet but allow it to access local IPs. Share between local networks only?

Simply not masquerade anythig.

I need only 1 IP adress to block for internet rest not

Example if you want to block ip: 10.0.0.150 in 10.0.0.0/24 network

/ip firewall address-list
add address=10.0.0.1-10.0.0.149 disabled=no list=block
add address=10.0.0.151-10.0.0.254 disabled=no list=block



/ip firewall nat
add action=masquerade chain=srcnat disabled=no src-address-list=block

I advice to block via firewall filter rule.

Thanks. Have I keep default masquerade for my Wan or replace it with this one?

replace it with this one