{"id":3442,"date":"2020-06-07T09:47:09","date_gmt":"2020-06-07T09:47:09","guid":{"rendered":"https:\/\/wpbc.a1securitycameras.com\/?p=3442"},"modified":"2024-01-03T15:29:33","modified_gmt":"2024-01-03T15:29:33","slug":"port-forwarding-for-ip-security-cameras-and-networks","status":"publish","type":"post","link":"https:\/\/www.a1securitycameras.com\/blog\/port-forwarding-for-ip-security-cameras-and-networks\/","title":{"rendered":"Port Forwarding for IP Security Cameras and Networks"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"3442\" class=\"elementor elementor-3442\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-7d7d8d02 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"7d7d8d02\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-45d899b1\" data-id=\"45d899b1\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-5d8588f5 elementor-widget elementor-widget-text-editor\" data-id=\"5d8588f5\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><\/p>\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i.shgcdn.com\/fc4c5ce7-f06b-45cc-a0c3-8e18f1094c64\/-\/format\/auto\/-\/preview\/3000x3000\/-\/quality\/lighter\/\" alt=\"\">\n<p>\u00a0<\/p>\n<figcaption class=\"wp-element-caption\">Port Forwarding for IP Security Cameras and Networks<\/figcaption>\n<\/figure>\n<p><\/p>\n<p><\/p>\n<p><a href=\"https:\/\/www.a1securitycameras.com\/ip-security-cameras\/\">IP security cameras<\/a>\u00a0have become part of our daily lives. As security camera owners, we like to see the feed or snapshot of live video on our phones, remote computers, and many other places. In order to accomplish that, we need to do a configuration on our home routers or modems that is called\u00a0<a href=\"https:\/\/en.wikipedia.org\/wiki\/Port_forwarding\" target=\"_blank\" rel=\"noreferrer noopener\">port forwarding<\/a>. We will get into port forwarding tutorial\u2019 for many known brands, but in this article we would like to delve into the definition of port forwarding and how it came about. Have you ever wondered what port forwarding actually stands for? Why do we need to configure port forwarding when we want to access our\u00a0<a href=\"https:\/\/www.a1securitycameras.com\/best-home-security-cameras\/\">best security camera in your house<\/a>\u00a0or at our business? We wondered about these questions and put together this guide for those who would like to learn about the computer networks we use every day.<\/p>\n<p><\/p>\n<p><\/p>\n<p>If we take one step back and look at the reason we are needing port forwarding, there is a quick and also very detailed explanation. We would like to explore this term in detail to give you a better insight about networking and port forwarding.<\/p>\n<p><\/p>\n<p><\/p>\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.a1securitycameras.com\/product_images\/companies\/1\/ip-forwarding.jpg\" alt=\"Port Forwarding for IP Security Cameras and Networks\" \/><\/figure>\n<p><\/p>\n<p><\/p>\n<h2 class=\"wp-block-heading\">IPv4 History<\/h2>\n<p><\/p>\n<p><\/p>\n<p>When\u00a0<a href=\"http:\/\/en.wikipedia.org\/wiki\/Internet_Protocol\" target=\"_blank\" rel=\"noopener\">Internet Protocol version 4 (IPv4)<\/a>designed back in 1980, the engineers at IETF had no idea that internet would become what it had become today. According to their calculations, 4 billion IP addresses were way more then what would be their hypothetical limit if mankind would ever reach. In old days, you could assign each computer on the internet with their own IP address and that machine would be reachable by anybody on the internet instantly.<\/p>\n<p><\/p>\n<p><\/p>\n<p>Fast forward to today, we have millions of computers, printers, cameras and networks connected to internet all over the world thus we are limited with how many IP addresses we can be given by our internet service providers (Timewarner, AT&amp;T, Verizon etc.) These IP addresses are called\u00a0<strong>public IP addresses.<\/strong>\u00a0Everybody who would like to access to internet needs to have a public IP address. These IP addresses are divided into two categories:<strong>\u00a0Static IP addresses<\/strong>\u00a0and\u00a0<strong>Dynamic IP addresses<\/strong>. Since ISPs are limited with the amount of IP addresses they can own, they allocate pools of public IP addresses and they assign these IP addresses their customers by changing it at random time frames, these IP addresses are called\u00a0<strong>Dynamic IP addresses<\/strong>. If you would like to have\u00a0<strong>static IP address<\/strong>\u00a0that is solely assigned to you, and does not change in a day or a week, that option is likely available to you by making a phone call to your ISP.<\/p>\n<p><\/p>\n<p><\/p>\n<p>Due to the allocation limits of IPv4, our home and business routers get assigned one IP address and all the computers behind that router use this IP address to access the internet.<\/p>\n<p><\/p>\n<p><\/p>\n<h2 class=\"wp-block-heading\">Magical Network Device known as &#8216;Router&#8217;<\/h2>\n<p><\/p>\n<p><\/p>\n<p>Although we are given one public IP address, we have many devices that we want to connect to internet. There comes the magic device called a\u00a0<strong><a href=\"https:\/\/www.a1securitycameras.com\/routers\/\">routers<\/a><\/strong>, or as many home users call it a\u00a0<strong>modem<\/strong>. These devices remove the barrier of one public IP address and allows every device access to internet. How does the conversation between router and our computer take place? Say, you would like to access to\u00a0<a href=\"http:\/\/www.yahoo.com\/\" target=\"_blank\" rel=\"noopener\">www.yahoo.com<\/a>\u00a0on the internet, your computer would put forward a request to the your home router saying \u201cI cannot find any computer called \u2018www.yahoo.com\u2019, can you please look around you and see if you can find me this computer?\u201d and your router would then take this request and hands it over to its neighbor which is your ISP&#8217;s router. This step basically takes you to \u201cinternet highway\u201d and once the demanded data arrives back from your ISPs router to your router, it then hands over the information to your device.<\/p>\n<p><\/p>\n<p><\/p>\n<h2 class=\"wp-block-heading\">What is Port and Port Forwarding?<\/h2>\n<p><\/p>\n<p><\/p>\n<p>With the same approach, when you would like to access to a device in your home network from internet, you need to make configurations on your home router. This is what we now call\u00a0<strong>port forwarding<\/strong>. Before we get to port forwarding, let&#8217;s look at the definition of\u00a0<strong>port<\/strong>. We are given a list of virtual addresses that are called\u00a0<a href=\"http:\/\/en.wikipedia.org\/wiki\/Port_(computer_networking)\" target=\"_blank\" rel=\"noopener\">&#8220;port&#8221;<\/a>\u00a0that each of them is mapped to a software or service running on your computer. In other words, if you would like to send or receive data in your network, you would need a port number for both outgoing and incoming. Each device that is connected to an IP network will have 65,535 ports on them by default. Say you would like to access to a computer, you would have to know that device&#8217;s IP address as well as the port number that your software is running on. If you only know the IP address but don&#8217;t know the port number, you can only &#8216;ping&#8217; the device but you cannot access to any software service on it. We can use the analogy of street address. 123 Elm Street. In this case, &#8220;Elm Street&#8221; would refer to IP address and house number would refer to the port number. You may know the street name but if you do not know the door number, you are basically clueless for the final destination.<\/p>\n<p><\/p>\n<p><\/p>\n<h2 class=\"wp-block-heading\">How does Port Forwarding work?<\/h2>\n<p><\/p>\n<p><\/p>\n<p>When you would like to access to a device from internet, you would go on to your router and identify the port number that you would like to access from internet. For example, our router has the IP address of 4.4.4.4. We have a device behind this router that has IP address of 192.168.1.20 which has a program listening on port 80. We would then go on to our router and make the following configuration:<\/p>\n<p><\/p>\n<p><\/p>\n<p>When somebody on the Internet requests information on my port 80, I will take this demand and hand it over to 192.168.1.20 on port 80. Whatever the response is, I will then send it back to the device requesting.<\/p>\n<p><\/p>\n<p><\/p>\n<p>Internet &#8212;&gt;\u00a0<strong>4.4.4.4:80 &#8212;&gt; 192.168.1.20:80<\/strong><br \/>Internet &lt;&#8212;\u00a0<strong>4.4.4.4:80 &lt;&#8212; 192.168.1.20:80<\/strong><\/p>\n<p><\/p>\n<p><\/p>\n<h2 class=\"wp-block-heading\">Port Address Translation (PAT)<\/h2>\n<p><\/p>\n<p><\/p>\n<p>In more advanced routers, you can define what\u2019s called as \u2018<a href=\"http:\/\/en.wikipedia.org\/wiki\/Network_address_translation\" target=\"_blank\" rel=\"noreferrer noopener\">port address translation<\/a>\u2019 or PAT. In this case, the port numbers from outside of your network do not have to match the port number on your device. You can assign whatever the port number you would like to define on your router then assign it to your internal device\u2019s IP address and port number.<\/p>\n<p><\/p>\n<p><\/p>\n<p>Internet &#8212;&gt;\u00a0<strong>4.4.4.4:8000 &#8212;&gt; 192.168.1.20:80<\/strong><\/p>\n<p><\/p>\n<p><\/p>\n<p>With this, we conclude the definition of port forwarding.<\/p>\n<p><\/p>\n<p><\/p>\n<p>Please send us any questions you might have about port forwarding.<\/p>\n<p><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-68434973 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"68434973\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-595f93ee\" data-id=\"595f93ee\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-40c4ce2f elementor-widget elementor-widget-heading\" data-id=\"40c4ce2f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Related Categories<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-62b08aeb elementor-widget__width-auto elementor-widget elementor-widget-heading\" data-id=\"62b08aeb\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-heading-title elementor-size-default\"><a href=\"https:\/\/www.a1securitycameras.com\/security-cameras\/\" target=\"_blank\">Security Cameras<\/a><\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-528c35f elementor-widget__width-auto elementor-widget elementor-widget-heading\" data-id=\"528c35f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-heading-title elementor-size-default\"><a href=\"https:\/\/www.a1securitycameras.com\/cctv-security-cameras\/\" target=\"_blank\">CCTV Analog Cameras<\/a><\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-79998eeb elementor-widget__width-auto elementor-widget elementor-widget-heading\" data-id=\"79998eeb\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-heading-title elementor-size-default\"><a href=\"https:\/\/www.a1securitycameras.com\/axis\/security-cameras\/\" target=\"_blank\">AXIS Cameras<\/a><\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7fbdfcb4 elementor-widget__width-auto elementor-widget elementor-widget-heading\" data-id=\"7fbdfcb4\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-heading-title elementor-size-default\"><a href=\"https:\/\/www.a1securitycameras.com\/lts\/security-cameras\/\" target=\"_blank\">LTS Cameras<\/a><\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-15b12e11 elementor-widget__width-auto elementor-widget elementor-widget-heading\" data-id=\"15b12e11\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-heading-title elementor-size-default\"><a href=\"https:\/\/www.a1securitycameras.com\/bosch\/security-cameras\/\" target=\"_blank\">Bosch Cameras<\/a><\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-38b94456 elementor-widget__width-auto elementor-widget elementor-widget-heading\" data-id=\"38b94456\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-heading-title elementor-size-default\"><a href=\"https:\/\/www.a1securitycameras.com\/geovision\/security-cameras\/\" target=\"_blank\">Geovision Cameras<\/a><\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7a94daa4 elementor-widget__width-auto elementor-widget elementor-widget-heading\" data-id=\"7a94daa4\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-heading-title elementor-size-default\"><a href=\"https:\/\/www.a1securitycameras.com\/hanwha-vision\/security-cameras\/\" target=\"_blank\">Hanwha Cameras<\/a><\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1429db44 elementor-widget__width-auto elementor-widget elementor-widget-heading\" data-id=\"1429db44\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-heading-title elementor-size-default\"><a href=\"https:\/\/www.a1securitycameras.com\/vivotek\/security-cameras\/\" target=\"_blank\">Vivotek Cameras<\/a><\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>IP security cameras\u00a0have become part of our daily lives. As security camera owners, we like to see the feed or snapshot of live video on our phones, remote computers, and many other places. In order to accomplish that, we need to do a configuration on our home routers or modems that is called\u00a0port forwarding. We [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":4739,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[101],"tags":[146,142],"class_list":["post-3442","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-information","tag-networks","tag-port-forwarding"],"_links":{"self":[{"href":"https:\/\/www.a1securitycameras.com\/blog\/wp-json\/wp\/v2\/posts\/3442","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.a1securitycameras.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.a1securitycameras.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.a1securitycameras.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.a1securitycameras.com\/blog\/wp-json\/wp\/v2\/comments?post=3442"}],"version-history":[{"count":8,"href":"https:\/\/www.a1securitycameras.com\/blog\/wp-json\/wp\/v2\/posts\/3442\/revisions"}],"predecessor-version":[{"id":14790,"href":"https:\/\/www.a1securitycameras.com\/blog\/wp-json\/wp\/v2\/posts\/3442\/revisions\/14790"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.a1securitycameras.com\/blog\/wp-json\/wp\/v2\/media\/4739"}],"wp:attachment":[{"href":"https:\/\/www.a1securitycameras.com\/blog\/wp-json\/wp\/v2\/media?parent=3442"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.a1securitycameras.com\/blog\/wp-json\/wp\/v2\/categories?post=3442"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.a1securitycameras.com\/blog\/wp-json\/wp\/v2\/tags?post=3442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}