how to do port forwarding

munaf
Comes here often

how to do port forwarding

how can i do port forwarding for specific port on mx64 device

4 Replies 4
rhbirkelund
Kind of a big deal

Go to Security & SD-WAN -> Firewall, and scroll down to "Forwarding rules" section, and press "Add a port forwarding rule".

 

There you enter a description, what uplink port it should apply to, protocol, the public facing port, LAN ip, LAN port, and who should be allowed to use it.

 

In the below example, the rule is applied to both WAN links, and the public facing port, is forwarded to port 80 on machine with IP address 10.10.10.10

rbnielsen_0-1586950569275.png

 

LinkedIn ::: https://blog.rhbirkelund.dk/

Like what you see? - Give a Kudo ## Did it answer your question? - Mark it as a Solution 🙂

All code examples are provided as is. Responsibility for Code execution lies solely your own.

how can i check after adding this rule whether this ports are open 

rhbirkelund
Kind of a big deal

Not really in the Dashboard, no.
But you could try and browse your way to the public IP of the MX and see if the webpage is served. Or use a tool like NMAP, to scan for open ports.
LinkedIn ::: https://blog.rhbirkelund.dk/

Like what you see? - Give a Kudo ## Did it answer your question? - Mark it as a Solution 🙂

All code examples are provided as is. Responsibility for Code execution lies solely your own.

Make sure your upstream modem/router isn't NAT'ing either, else you'll need to configure the port forward on that device also.
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.
Labels