The stock web interface of the ZTE/MTN MF831 hides the port forwarding, DMZ, and related firewall settings. The following steps enable them.
-
Download and install adb (Android Debug Bridge). If you are on a Mac, also install the Horndis tethering driver.
-
Plug the stick into your Mac or PC, then open the following URL in a browser:
192.168.0.1/goform/goform_set_cmd_process?goformId=USB_MODE_SWITCH&usb_mode=6The response should be:
{"result":"success"} -
Open Terminal on macOS/Linux or Command Prompt on Windows and test the connection with
adb shell. If the shell opens, typeexit. -
Download
menu.jsfrom the stick:adb pull /usr/zte_web/web/js/config/datacard/mf831/menu.js -
Make a backup copy of
menu.jsand keep it in case you need to restore the original web interface. -
Edit
menu.jsand add the following objects after"#pin_management":{ hash: '#port_forward', path: 'firewall/port_forward', level: '3', parent: '#device_setting', requireLogin: false, checkSIMStatus: false }, { hash: '#router_setting', path: 'adm/lan', level: '3', parent: '#device_setting', requireLogin: false, checkSIMStatus: false }, { hash: '#dmz_setting', path: 'firewall/dmz_setting', level: '3', parent: '#device_setting', requireLogin: false, checkSIMStatus: false }, { hash: '#upnp_setting', path: 'firewall/upnp_setting', level: '3', parent: '#device_setting', requireLogin: false, checkSIMStatus: false }, { hash: '#port_filter', path: 'firewall/port_filter', level: '3', parent: '#device_setting', requireLogin: false, checkSIMStatus: false } -
Upload the modified file:
adb push menu.js /usr/zte_web/web/js/config/datacard/mf831/ -
Open 192.168.0.1 and test the new settings in the web interface.



