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. Show 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 Once In there I can see my router: If I (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
In this case the OS configure your router.
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: I did it the Linux way (https://youtu.be/bjsu5sFbMos) and as soon as I run the command:
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
Similar Threads
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.
|