What is Port Forwarding?

What is Port Forwarding?

What is port forwarding, and how does it work
to enable remote access to security cameras and other devices on the internet? These are
the questions we will answer on this video. What is port forwarding? Port forwarding is
the act of configuring a router to make a computer or network device that is connected
to it accessible to other computers and network devices outside the local network. In other
words, when enable port forwarding for a device, you are turning on remote internet access
for it. Here is an example of how it works. Let’s say you have an IP camera connected
to a router, and there is also a computer connected to the same router. The router assigns
the camera and a computer an internal IP address so that you can communicate with each other
on the local area network. Local IP addresses will almost always start
with 192. or 10. The router is connected to a cable modem to provide internet access to
the computers on the network. Modems are also assigned an IP address, but they are different
than the local IP address assigned by the router. The internet service provider assigns
a modem a public IP address. The public IP address is what enables communication between
a local network and devices on the internet. By default, most routers have a firewall enabled
so that no outside internet traffic can enter the local network. This is why port forwarding
is needed if you want to enable remote access to devices such as IP cameras.
When you set up port forwarding, a hole is essentially poked through the firewall, which
allows internet traffic inside the network, but only on a specific port that you forwarded.
In this example, our IP camera is running on port 7,000. If we set up port forwarding
on the router, and point port 7,000 to the IP camera, outside traffic will now be allowed
inside the network on that particular port. The router will forward the communication
to the IP camera when it comes in over the internet. Port forwarding works exactly the
same way for network DVRs and any other type of networkable device.
Here’s how this port forwarding will be set up using the Cisco Linksys router. I’m
logged in to the web interface of the router now, and I go into the security settings.
In the security settings, there’s a section called Apps and Gaming. Then there’s a subsection
called Single Port Forwarding. This entry right here is for the IP camera that I use
in the example. You can see that we forwarded port 7,000 to the internal IP address of the
IP camera. I hope this video was helpful in explaining
the concepts used in port forwarding. For additional information and links to resources
and tools that can help you set up and troubleshoot port forwarding rules on your own, please
visit www.cctvcamerapros.com/portforwarding. Thank you for watching.

Danny Hutson

100 thoughts on “What is Port Forwarding?

  1. Could you make a video to show how to configure access to no-ip on iDVR-E? Because each time I try to connect, or use test button, I get "FAIL UPDATE' on iDVR-E.

  2. Sir one thing which i am not able to understand is that how can i access my 2 warehouses cctv cameras right in my office.
    Both the warehouses are near to each other and i want to see them without internet. It means i want to see through networking. Simpally i know that i have to put 2 devices(ubnt air grid 23 dbi) on both the warehouses and the LAN has to be insert into dvr. One more on my office as access point and that 2 devices as a station. Sir Please help me if you know how to do that ??

  3. Great Video! I had a problem connecting when I tried accessing my WAN address. Error message "one or more network protocol missing" . My internet works fine with other sites. Thanks!

  4. very useful video thx alot but i have question if i hv an IP cameras and im using VMS how i can access the the application in my Server to see my Cameras out of my network ? how the port forwarding will be thx ?

  5. Thank you its very hard to find clear and simple explanations like this.. but you made it simple and straight to the point, thank you

  6. Thank you very much for the clear explanation now I got the concept and i can configure within any IP Device.

  7. What if another computer from the outside is using port 7000 and wants to connect to a device which is not the port forwarded one?

  8. here is my qn

    i have a simple setup
    a win 7 pc connected to a dlink modem+router 2750u through lan cable
    android phone connected to the modem through wifi for internet access

    how to access the data from my win 7 pc using my android phone

    this was very successful when i was using a tplink usb wifi adapter which had a softAP ICS feature wch allowed to share PC internet

  9. thank you for your video it is helpful, my question is what is the rule for choosing the port number as in your video you assigned port number 7000???so I can randomly choose any number from my mind???

  10. I made port forwarding and I succeeded and i can view the cameras on my phone via application called "StreamView" but when I tried to see my cameras on the browser i couldn't and it wrote you can't reach the page
    what the problem in your opinion???

  11. do you set up port forwarding on the computer on the same network as the camera or on the other computer trying to get through the firewall.

  12. Thank you for the video, very helpful. I have a question. I have a two raspberry Pis, I saw a video of someone using port forwarding and he used port 3389 to allow the communication (remote connection using windows) I set it up and it works but I want to set up my second Pi and I am not sure if I should use 3390 or 3388. I tried to look online but not finding much (I find different types of connections with different ports) how do I know what type of port or range of ports is adequate for my type of connection? Also how do I determine my type of connection. For example, if I use an ESP8266 board, is the port number or range different as well as the type of connection?
    Sorry more than one question.
    Thanks for the help in advance

  13. In my IPcam software (TP-Link sc3171g) port 80 is set as default – Is this ok, or should I choose f.ex. 7000 or others? I have problems to find all cameras on my LAN. I also have several extanders, and I suspect that something must be set in router or extender? I use the PC with the main console software to record from the IP cameras.

  14. I point our end users to this video. They and I thank you for the easy explanation, as well as, image references. Cheers!

  15. so if i turned my firewall off.. would i need to forward my ports? i know the answer is yes.
    so what am i missing? is this like how when the Starship Enterprise turns off its main shielding, it still has its navigational shields underneath?

  16. I once tried it to set up an MC server, i could connect to it with the ip address from the launcher but my friends couldn't. Any help with that?

  17. Hi I have a problem here

    1. I already register no-ip ddns and finish setting it up

    2. My router and dvr setting already connect with the ddns

    3. My dvr mac and ip already bind within router.

    4. Dvr port is http:80 tcp:8000 mobile:5000

    5. I already make port forward independently for each port

    6. I could connect the dvr via browser to port 80 with external network via ddns host

    7 The problem is I couldn’t establish connections via android apps or other apps in every port.

    Any idea?


  18. So what's being configured, the modem or the router? Your explanation implies the modem, not the router, as it shows BUT later in the video you're configuring the Linksys router. Which is it, it's not exactly clear? I'm assuming forwarding has to happen twice, once at the modem then again at the router??

  19. but i cannot get an incoming connection from public network
    actually my problem is that i made a payload and send to a mobile phone which is outside a lan network to get an incoming connection then what to do and im also using wlan0

  20. Hello. in this case the port forwarding should be done on the modem. Cause the router is not accessible from the internet, Right?

  21. So if I can access my DVR locally but not remotely does it still mean my ports are being blocked and if so how can I check besides asking the cable company cause as it stands now the company says my ports are opened but yet I can not see remotely, help anyone

  22. Your mic sucks but this is leaps and bounds better an explanation than other videos I've watched on here. Thank you for your time and effort.

  23. Ok so I have some sketchy network stuff going on. And I'm really dumb with all this. But I logged onto my router and there are two ports that are forwarding. I never set anything up. Are some automatic, or is this an indication of being hacked?

  24. Is it possible that you don’t need to enable port forwarding to access an IP cam? My friend set up one to monitor his cat in his apartment but I don’t think he had to fiddle with router settings. Thank you for the video!


  26. Something ive been trying to find out is, how are p2p connections such as those on IP cameras, able to establish connections WITHOUT port forwarding?

Leave a Reply

Your email address will not be published. Required fields are marked *