Getting the Huawei E3372 LTE dongle to work on a router with OpenWRT 15.05 Chaos Calmer is very easy and requires two additional packages:
usb-modeswitch. They can either be installed through the web interface (System > Software) or by running the following on the command line:
opkg update && opkg install kmod-usb-net-cdc-ether usb-modeswitch
A new network interface will show up (
eth1 in my case), that just needs to be added to the
wan firewall group (Network > Interfaces > eth1 > Edit > Firewall Settings > Assign firewall-zone). That’s it, the router is online! The web interface remains accessible through the browser at its usual IP address (
Installing the packages obviously requires an already existing internet connection. The router can be temporarily connected to another wifi network (Network > Wifi > Scan > Join Network), e.g. a hotspot from a smartphone. Don’t forget to disable or remove this network once finished (Network > Wifi > Disable/Remove).
Double NAT Configuration
When running server applications on the router or network, additional configuration is necessary to make them accessible from the internet.
Both the OpenWRT device and the Hi-Link dongle work in router mode and separate the internal from the external network through a NAT, and this double NAT is a pretty effective way to block incoming connections. Because the NAT cannot be deactivated on the dongle, the ugly and configuration intense solution is often to disable the OpenWRT NAT and use the dongle’s instead. This is a pretty bad workaround and there’s a much better solution for dongles with the DMZ feature available (which depends on the firmware version).
In the configuration interface of the dongle (
192.168.8.1), locate the DMZ settings (Settings > Security > DMZ settings) and enable the DMZ feature with a target IP address of
192.168.8.100, which should be the IP of the
eth1 network interface on the router that the dongle is connected to (double check in OpenWRT under Network > Interfaces > eth1 > IPv4). Form now on, all incoming connections are passed directly to OpenWRT. The firewall, SIP, and UPnP features of the dongle can be disabled. In contrast to what other guides say, the NAT setting can stay at its default (cone), because it does not have any influence on the DMZ behavior.
Hi could you please tell me The firmware, UI and hardware versione of your device. I cannot see any dmz settings in my hilink device.
I have a e3372s-153
Hi, I have the E3372h-153 running on software 22.315.01.00.00 and Web UI 22.315.01.00.00.
Do you have a 3rd party branded dongle? I bought it with the Latvian “lmt” branding and the UI was missing lots of settings, but unlocked them by flashing the Huawei software/UI.
What you need is to install a modified webui and you will get DMZ, porta forwarding, firewall and more..basically All The options that a standard router has. Feel free to mail me at gnuton at gnuton.org. i LL Update The post on my website about my latest findings and experience with it!
Hey, I stupidly turned off my DHCP and now cannot access the device. Do you know of a way to reset, or be able to access the device back on it’s original IP, or through a PC tool? any help would be appreciated! Thx.
Have you turned DHCP off in your computer? If it s so you can re-enable it.
If you have a modded Hilink UI then you could have disabled the DHCP server.
In that case you could set 192.168.8.2 as static IP for the ethernet over USB interface of your computer.
The hilink device should be available at http://192.168.8.1
Hi, how did you manage to configure DHCP on that device? I cannot configure this thru the WebUI, cause this function is not included in there. I’m not too sure if it can be done thru a curl command on the CLI. When using -> ‘curl -X GET http://192.168.8.1/api/dhcp/settings‘ it shows the current DHCP setup of the E3372h Stick, but how can I change e.g. IP addresses? Thanks in advance.
Thanks Antonio. Yes, I disabled the DHCP server on the device. I am without it now for 2 days, but will try as described by setting a static on my machine and going in that way.
thakns for your explanations, but I’m still struggling with this stick.
I have here :
– a TP-Link WR1043ND router with OpenWrt (Gluon, Chaos Calmer)
– I think all relevant packages are installed
– a Huawei E3372 LTE-stick
[ 339.480000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 339.970000] usb 1-1: USB disconnect, device number 2
[ 340.660000] usb 1-1: new high-speed USB device number 3 using ehci-platform
[ 341.000000] cdc_ether 1-1:1.0 eth2: register ‘cdc_ether’ at usb-ehci-platform.0-1, CDC Ethernet Device, 0c:5b:8f:27:9a:64
but ifconfig does not show me eth2.
Do you have a tip for me?
Hi, have resolved your issue? I have the same problem with the same device
The better solution is to put the stick in NCM mode and NOT use it in hilink mode (see http://blog.asiantuntijakaveri.fi/2015/07/convert-huawei-e3372h-153-from.html ) to avoid NAT on the stick. This works on OpenWRT with the appropriate modules (too lazy to look them up on my openwrt now)
It works fine with this method however the speed of connection become too slow <3M/seconde in spite of 38M when the modem E3372 is branched directly to Pc
some days ago I found a solution: you need the packages usb-modeswitch wwan
that’s all. It worked like a charme. retested with a frehs installation of OpenWrt.
[…] openings in the firewall gave some trouble. Later on I found out this is caused by the extra network the 4G modem sets up. And with this firmware I cannot setup a DMZ connection to the FritzBox!, so […]
[…] doordat het 4G modem een extra network opzet en met de huidige firmware lukt het ook niet om een DMZ verbinding naar de FritzBox! op te zetten. Daar moet ik op een later tijdstip nog maar eens naar […]
[…] DHCP-сервером, поэтому это потребовало установки дополнительных пакетов. Процедура идентична настройке модемов в обычном OpenWRT, […]
MyMRO is a specialized and leading brand for supplying construction and agriculture machinery parts for customers worldwide, along with the belief of standing on large variety, fast delivery, OEM quality. We have Engine Water Pump Joint 129004-42040 for Hitachi Excavator ZX30U-3F ZX33U-3F that you need at the lowest price and fast shipping. Learn more about Engine Water Pump Joint 129004-42040 for Hitachi Excavator ZX30U-3F ZX33U-3F.
sddscscscdsdssddcs umair najam
csacasscacsascasc umair najam