How to enable UPnP without router Password

When I want to access a device that is behind a NAT from the outside world I would go to the router and set up port forwarding.

Now my question why does it work without configuring the router? For example it is possible to do port forwarding without configuring/accessing the router by going to Control Panel -> View Network Connections

Once In there I can see my router:

How to enable UPnP without router Password

If I right click -> properties -> settings -> select services tab -> Add then I am able to configure port forwarding as:

How to enable UPnP without router Password

(My computer that is hosting a website inside my network has IP 192.168.0.5)

I know the basics of how a router works but I do not understand how this can be done without a helper server (tcp/udp punch holing) or vpn. What is my computer doing when I set up this option in order to enable port forwarding?

This can also be done on Linux this video (https://youtu.be/bjsu5sFbMos) shows how.

asked Feb 26, 2018 at 19:05

1

The key is the UPNP https://en.wikipedia.org/wiki/Universal_Plug_and_Play

  • The router must be UPNP capable, and UPNP service must enabled. If disabled, process in the question won't work.

  • The configuration done via UPNP commands instead router's web interface. But in both case, router gets configured, just the method different.

Now my question why does it work without configuring the router?

In this case the OS configure your router.

What is my computer doing when I set up this option in order to enable port forwarding?

OS sends UPNP messages to the router. These are network packets, if you interested in deeply, you can find official UPNP protocol descriptions.

You can imagine it as there's 2 port-forward database. One managed by router web interface (portforward, virtual servers, naming different), another managed by clients of the routers. But both stored on the router, and apply to the router rules.

answered Feb 26, 2018 at 19:49

uDevuDev

4793 silver badges6 bronze badges

I guess I have to read more about UPnP. Doing the following steps changes the following configuration on the router:

How to enable UPnP without router Password

I did it the Linux way (https://youtu.be/bjsu5sFbMos) and as soon as I run the command:

$ upnpc -d 192.168.0.150 80: 80 TCP

On my linux box then that entry disappiears on my router.

answered Feb 26, 2018 at 19:41

Tono NamTono Nam

6891 gold badge12 silver badges23 bronze badges

User Tag List

  1. 10-23-2008 #1

    [Guide] Open ports WITHOUT router access!

    Power of Illuminati is back here, for a moment! My friend helped me just discover how to open ports on your router, without using the router software (no passwords needed!).

    You need two different things


    • Windows
    • Upnpc software

    You can download the software from this site MiniUPnP download zone but here is a direct link to the program, as it's a long list.

    http://miniupnp.tuxfamily.org/files/...2-20080925.zip

    When you have downloaded and opened the .rar file, unzip it to the "C:\Documents and Settings\yourname" folder, you can put it anywhere, but then you must figure out the command abit... Strongly recomend the location I wrote.

    Now you also would need your ip adress handy (What is my IP address? Show my IP address. IP Tracer & IP Locator.)

    Now lets open DoS.

    Start -> run -> write in 'cmd' and hit enter, a black window should open now.

    Write this in that window to open port 80 for example, when your IP adress is 132.121.123.146.

    Code:

    upnpc-shared -a 132.121.123.146 80 80 TCP

    Ofcourse you will edit the IP to YOUR ip and the port to the port you want to open.

    The cmd program should now start to work and write alot of stuff on the screen, but the port should acctualy now be open! This has worked for me, and only my father got the password for the router, what this program does, is that it goes directly to the access file on the router.

    Great program in my opinion!


    These ads disappear when you log in.

  2. 10-23-2008 #2


  3. 10-23-2008 #3

    Woohoo u own
    How to enable UPnP without router Password
    +rep x2
    How to enable UPnP without router Password

    EDIT: When my CD it's Ready xD


  4. 10-23-2008 #4

    This is exactly what my friend in real life needs
    How to enable UPnP without router Password

    +Rep

    How to enable UPnP without router Password


  5. 10-23-2008 #5

    Feel free to say if anything is wrong there, it has atleast worked for me on port 80 and 3306. Using this for webhosting + mysql databas only.


  6. 10-23-2008 #6

    How to enable UPnP without router Password

    Member


    hmm.. i tried this multiple times but cant seem to get it to work. i type in
    upnpc-shared -a 68.98.79.154 80 80 TCP but cant seem to get it to work? anyone know why?


  7. 10-24-2008 #7

    k, try and rename the upnpc-shared file to only upnpc, then just wrote upnpc -a <ip> <port> <port> TCP, it works atleast for me. What OS are you running btw?


  8. 10-24-2008 #8

    How to enable UPnP without router Password

    Member


    Hmm OS? and i tried that but it doesn't work for some reason. i type in
    upnpc -a 68.98.79.154 80 80 TCP . It says 'upnpc' is not recognized as an internal or external command, operable program or batch file.


  9. 10-25-2008 #9

    How to open with TCP & UDP?

    and how to close port?

    How to enable UPnP without router Password

    Last edited by Ollox; 10-25-2008 at 04:48 AM.

    Lua knowledge [||||||||||]


  10. 10-25-2008 #10

    OS is operative system,you need windows for this.

    To open TCP, write TCP in the end, or UDP in the end.

    -d instead of -a removes a port.

    Here is a good wiki page
    Port forwarding using UPnP – Wippies Wiki


Similar Threads

  1. Replies: 2

    Last Post: 02-03-2008, 07:24 PM

  2. Replies: 8

    Last Post: 01-28-2008, 09:05 PM

  3. Replies: 5

    Last Post: 01-04-2008, 03:19 PM

  4. Replies: 5

    Last Post: 10-29-2007, 04:30 AM

  5. Replies: 4

    Last Post: 09-12-2007, 09:41 AM

How do I enable UPnP manually?

Locate and click the icon for Network and Sharing Center. In the Sharing and Discovery section, click the arrow button to the right of the Network discovery option. Select the option for Turn on network discovery and click the Apply button. UPnP now automatically start when you turn on your computer.

Can you port forward without access to router?

To port forward without access to the router, you can set up rules on the firewall software. You'll be able to open new ports for additional access. You can do this for both Windows and Mac devices. You can also set up port forwarding using UPnP by changing a few settings on your computer.

How do I unlock UPnP?

Go to Security > UPnP, put a check next to UPnP, and select Submit. The setting toggle might instead be in Settings > Security > UPnP Settings. Go to Network Application > UPnP Configuration, check the box next to Enable UPnP, and select Apply.

Do all routers have UPnP?

Initially, UPnP only worked for devices on your home network. This means only devices connected to the same LAN could interact with each other. Now, most routers come with default UPnP settings that let external devices connect to your network too. Cybercriminals can exploit this.

How do I enable UPnP on my router on my phone?

From the home screen, open the main menu. Tap on the Adapt menu. Tap on the gears icon (Android) to get to Advanced Settings. Slide the UPnP toggle to the right.

Where is UPnP in router settings?

Go to More Functions > Network Settings > UPnP. UPnP is enabled by default, but you can toggle UPnP to turn it on or off.