So this question has probably been asked many times before but I have tried several pages with different solutions and none are working for me.
I am really hoping that someone can help me.
I prefer to use the terminal if possible.
I am using my Mikrotik router at home with an ISP that provides dynamic IP’s.
I am working on configuring a test-bed Ubuntu server in a virtual machine before I deploy it to a VPS.
Part of that is setting up a webserver (port 80).
I don’t want the site to be accessible to the outside world all the time, just want to allow someone else to be able to access it for web development and testing.
Thus, I need to open up a random high port (in my case I picked 30080) and forward it internally to a specific IP address for the Virtual Machine on port 80.
I am using the following rule with no results:
/if firewall nat add action=dst-nat chain=dstnat disabled=no dst-port=30080 in-interface=ether1-gateway protocol=tcp to-addresses=192.168.88.31 to-ports=80
I know that the webserver is running internally because when I browse to it on the LAN at 192.168.88.31 I can access it. However if I visit the same from my external IP I am not getting results.
Can anyone please help me?
Thank you!