we are jsut passing through the IP configuration that we get from the modem. If the modem uses NAT and provides local IP then we are passing that IP to the configured interface.
If you can configure the modem to provide public IP then that IP will be passed through.
Seriously, from the early beginning most of us wants mikrotik to pass the public IP. Also most of us as an example give Dovado routers, that can passthrough PUBLIC IP to the device directly connected to it. During configuration process you decide on which client (WLAN or LAN) the IP should be assigned. No matter, if your modem is with NAT or not.
Now, to achieve the same, it’s needed to make a standard modem from a HiLink (NATed) version… Will it work then???
yes, the modem is in the hilink mode. Which mode you want us to support? As we don’t support all the device emulation drivers. Please provide to support@mikrotik.com support output file from the mode where the modem should assign the public IP to the LTE interface.
I sometimes read there should be a mode (not the PPP or the HiLink mode) that allows the use of the
public IP address directly from a system, with drivers for Linux provided by the modem, but it is hard to
find any real info. Of course it would be nicest when the LTE stick appears as an internet link with its
public address (well, as far as the provider gives it, could be a CGNAT behind it) and have no NAT in
the stick.
Stick mode - firmware start with 21.xxxxxx - it appear on USB port and as PPP interface. You are able diap up and if mobile providrer give you public IP you got this public IP on PPP interface in Mikrotik. Negative of this mode is speed limitation of serial access/PPP i can not get more than c. 21Mbps
Router/HiLink mode - firmware start with 22.xxxx - it appear as LTE interface with “full” LTE speed, BUT Mikrotik LTE interface if just client of Modem stick router LAN - you will not get public IP as its on WAN port of USB Stick
But if you use mod WebUI firmware, you get more options like DST nat ports or put mikrotik as in DMZ zone, switch off FW … so at least solution. I used this firmare to convert my E3372h-153 (aka HW ver: CL2E3372HM) into HiLink with option setup DMZ on one client on LAN = Mikrotik interface
Update_WEBUI_17.100.13.01.03_HILINK_Mod1.0.exe (doesnt have extra tweak as modify TTL to 64 on modem stick, swit ch off autoswitch from web interfare etc.)
E3372 issues a new IP address each time.
It is possible to limit the addresses that the DHCP server enters using a script.
Change in modem HUAWEI E3372h-320
DhcpStartIPAddress 192.168.8.100
and
DhcpEndIPAddress 192.168.8.100
Connect E3372 to usb Windows PC and run the script.
This worked on my e3372h-320!