Enabling upnp on Airtel's PMG5617-R20B

  • Thread starter Thread starter JB701
  • Start date Start date
  • Replies Replies 8
  • Views Views 5,146
Here is how you can enable Upnp which is grayed out by default on Airtel's locked ZyXEL router

1.png


You will need Firefox (idk if it works on Chrome because you have to CSP to inject scripts)

1. Turn off CSP in Firefox in about:config by setting "security.csp.enable" to false

2.png

3.png


2. Go to your router page>LAN>Upnp (you should be able to do it from any page in router but still) and Press F12 to bring up console

4.png


3. Paste the script to be injected

JavaScript:
function enableUPnPWithoutForm() {
  // Create the data object to mimic the form being filled out
  var data = {
    upnpFlag: '1',
    UPnP_auto: '1',
    enblUpnp: '1', // Enable UPnP
    enblUpnpNotify: '1', // Enable UPnP notification
    enblUpnpPortForward: '1' // Enable UPnP port forwarding
  };
 

  var url = "/cgi-bin/upnp.cgi";
 
  var callback = function(responseData, textStatus) {
    alert("UPnP has been enabled.");
  };

  // Send the request as a POST
  $.post(url, data, callback, "html");
}


5.png


4. Call the function by typing in "enableUPnPWithoutForm()" without quotes and press enter
5. It will show the message

6.png


6. Refresh the page and you will see UPNP is enabled

1.png


7. Enable CSP by going to about:config and removing "security.csp.enable" flag by clicking the trash can icon next to it.

Thats it
 
People having this ZyXEL router. So you have any idea whether ap isolation is enabled by default on this router and if it is, how to disable it
 
Back