Skip to content
oandras.hu
Magyar nyelv
  • Home
  • Blog
  • About me
oandras.hu
  • Home
  • Blog
  • About me
Magyar nyelv

ZTE/MTN MF831 firmware hack to get Port Forwarding and DMZ settings

MTN logo

The stock web interface of the ZTE/MTN MF831 hides the port forwarding, DMZ, and related firewall settings. The following steps enable them.

  1. Download and install adb (Android Debug Bridge). If you are on a Mac, also install the Horndis tethering driver.

  2. 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=6

    The response should be:

    {"result":"success"}
  3. Open Terminal on macOS/Linux or Command Prompt on Windows and test the connection with adb shell. If the shell opens, type exit.

  4. Download menu.js from the stick:

    adb pull /usr/zte_web/web/js/config/datacard/mf831/menu.js
  5. Make a backup copy of menu.js and keep it in case you need to restore the original web interface.

  6. Edit menu.js and 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
    }
  7. Upload the modified file:

    adb push menu.js /usr/zte_web/web/js/config/datacard/mf831/
  8. Open 192.168.0.1 and test the new settings in the web interface.

Screenshots

MTN 831 DMZ settings
MTN 831 port filtering settings
MTN 831 port forwarding settings
MTN 831 UPnP settings

Posted: 18/05/2017

Category: How-to, Network, android

Tags: zte, mf831, hack

« Previous

Next »

GitHub

Contact: info@oandras.hu
Tel.: +36303822495

RSS
© 2010 - 2026 oandras.hu