hello
i have LTE dongle that once is connected the Mikrotik gets ip on lte1 192.168.8.100 (on dongle configured as DMZ)
how do i need to configure the firewall rule for port forwarding if the External IP is known on the dongle part.
thanks
hello
i have LTE dongle that once is connected the Mikrotik gets ip on lte1 192.168.8.100 (on dongle configured as DMZ)
how do i need to configure the firewall rule for port forwarding if the External IP is known on the dongle part.
thanks
If it’s enough to work from internet (i.e. you don’t need to connect to public address from LAN), then you can use this:
/ip firewall nat
add chain=dstnat dst-address=192.168.8.100 protocol=tcp dst-port=80 action=dst-nat to-addresses=<address of internal server>
If you’d need it to work also from LAN, then you need the same rule again, only with dst-address=. And then another srcnat rule as decribed here.
thanks a lot
do i need to specify port in the internal ip ?
Only if it differs from port in dst-port.
when I do so it works only when I get into 192.168.8.100 so its redirecting to 192.168.88.200 on port 80
but it doesnt work on the external IP of the LTE dongle.
how can I let mikrotik knows that its his external ip ?