hi
I do have Huwaei E8732 that is doing NAT, I’ve configured the Mikrotik as DMZ on it and it should be published with its external IP (fix ip).
how do I config the port forward for the LTE interface with the external IP on the Mikrotik side ?
In theory port-forwarding is configured the same way regardless the WAN interface technology.
In practice, many MNOs firewall traffic even though users get globally-routable IP addresses (as opposed to CGNAT addresses). Which means it might be possible you can’t really do port forwarding into your LAN because connections are blocked already by ISP.
I am not behind NAT, that’s why I mentioned fix ip
since the lte interface doesn’t familier with its external IP how do I make the right rule for that?
You are contradicting yourself…
“I do have Huwaei E8732 that is doing NAT,”
“I am not behind NAT, that’s why I mentioned fix ip”
In any case, if the modem is getting a public IP and you have the MT setup on the MODEM as forwarding everything (all ports) to the MT, then treat the MT fixed IP as your public IP.
The LTE external IP has fix public ip.
The Dongle itself is doing NAT on 192.168.8.0/24 and the Mikrotik gets 192.168.8.100 , on the dongle device 192.168.8.100 is configured as DMZ.
I want the external IP of the LTE to do port forward from
Ext ip x.x.x.x 》》 192.168.8.100 [MT] 》》 192.168.88.100 [Int host] on port 80
Draw a diagram as your explanations are more confusing then helpful.
How many routers do you have?
How many ISP connections do you have?
Who supplies the dongle??
A. PRIMARY WAN
In this scenario, you will only be able to port forward using a public IP from the ether1 ISP connection
add chain=dstnat action=dst-nat protocol=tcp dst-port=80 { either dst-address=fixedwanip or in-interface-list=WAN for dynamic wanip }
to-address=ipofserver
B. LTE BACKUP WAN
In this scenario, you will only be able to port forward using the fixed wanip provided by the dongle on your LTE connection.
You will have to do port forwarding on the USB dongle. If that is not possible, then you will have to configure the USB dongle in bridge / passthrough mode (if possible) so it can pass the public IP directly to the Mikrotik and then do port forwarding on the Mikrotik
Its opened as dmz already so it sbould be ok from the dongle side.
What i dont understand how that mikrotik will know fixedwanip belongs to lte interface
external wan IP?
its not defined no where
the dongle is on 192.168.8.x
Updated: I configured dst address as none and incoming interface as lte1 and it worked!
now I just need to make sure that this host is routing through the lte1 as default…
You will have to tell the Mikrotik whatever enters each WAN interface must leave same WAN interface going out to Internet, i.e. route rules and or mangle rules
If the USB device does not know about the LAN subnet, then you can try the “fake” DMZ method (I hate the person that coined this “DMZ” phrase on these home devices) like you stated you have done already.
This way the “DMZ” forwarding will have to point to your Mikrotik, then your Mikrotik will have to do further port forwarding to your LAN device. Obviously then NATing out to USB modem will have to be done on Mikrotik also.