how to do Nating on MX, for DMZ configuration


how to do Nating on MX, for DMZ configuration

1. configured DMZ ip(public ip) on MX firewall

2. configured other DMZ ip(public ip) of same subnet on ASA firewall which is connected to MX.


now im not able to ping DMZ ip which is configured on MX as well as ip on ASA from outside network, (from outside, trace reachable till MX wan ip)


please suggest, how can i do Nating on MX device, or is there any port forwarding needed. to make these ip reachable from outside network.


note: both DMZ ip configured on meraki and ASA are public ip.



Head in the Cloud

Hi @BhushanKhachane 

This is my understanding.



If your public ip of MX interface is not pingable. Please check

Security & SD-WAN > Firewall > Security appliance services [ICMP Ping is allowed = Any]



Now as you MX is connected on LAN Port of MX and public ip of ASA is of the same subnet. You may try to configure 1:1NAT.

Security & SD-WAN > Firewall >1:1 NAT

[Type in your ASA Interface IP in "Public IP" and "LAN IP" fields]


Hopefully this shall solve your issues.

Kind of a big deal

If your MX is in NAT mode, then you shouldn't have the public IP subnet on both the WAN-side and the LAN-side of the MX which I think you do have right now (if I understood correctly).


Either you need to change your setup and have the ASA and the MX connect (in parallel) to the same device (router most likely).


Or you need to give the ASA's WAN a private IP address from an existing or a new range, and use 1:1 NAT. You would have it configured as follows:



Note that in this case I have opened up the firewall to the ASA completely (Any/Any/Any). You may want to limit what access to the ASA is possible.


More info here:


Edit: Also, if you're using ping to test, as @AjitKumar mentioned, by default the MX doesn't allow pinging its WAN side. But the same goes for the ASA, make sure, it is configured to respond to pings on its WAN side.

Get notified when there are additional replies to this discussion.
Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.