If i traceroute to google’s 184.108.40.206, firsts hops shows that there is NAT
traceroute to 220.127.116.11 (18.104.22.168), 30 hops max, 60 byte packets
1 _gateway (192.168.225.1) 3.199 ms 3.250 ms 3.290 ms
2 100.64.0.0 (100.64.0.0) 72.020 ms 90.933 ms 90.899 ms
3 10.70.5.229 (10.70.5.229) 90.863 ms 90.943 ms 94.981 ms
Is there way to define DMZ IP or port forward to LAN IP (all ports)?
No, I couldn’t resolve this issue and so, I ultimately settled on the PPP mode of EC25 module.
QMI mode didn’t work for me because EC25 and host router (Turris Omnia) start to disagree about external IP address on the LTE interface after each reconnection to the carrier (i.e. on session expiry). EC25 reconnects successfully, gets a different IP address, and then host router doesn’t have a way to get notified about that and continues to send packets in the vain, to an old IP address. Probably I could hack up a script which polls uqmi -d /dev/cdc-wdm0 --get-current-settings in a loop (and updates host-side settings accordingly) or whatever, but I decided that setting up PPP is just easier.
In ECM mode, I couldn’t enable port forwarding through EC25’s builtin NAT. It looks like implementation of this feature in EC25 firmware is incomplete, or at least not properly documented. No way to reset unit to the factory settings etc. I hope to see this feature implemented some time later in the future.
MBIM mode didn’t work under TurrisOS/OpenWRT at all (lack of drivers or whatever).