Thursday, June 15, 2023

Network Security Checklist

Network Security Checklist 

Your business faces threats on many fronts, and the more users, devices, and applications you add, the more vulnerable your network becomes.

Network security is any activity designed to protect the usability and integrity of your network and data. It includes both hardware and software technologies. Effective network security manages access to the network. It targets a variety of threats and stops them from entering or spreading on your network.

Network security combines multiple layers of defences at the edge and in the network. Each network security layer implements policies and controls. Authorized users gain access to network resources, but malicious actors are blocked from carrying out exploits and threats.

Digitization has transformed our world. How we live, work, play, and learn have all changed. Every organization that wants to deliver the services that customers and employees demand must protect its network. Network security also helps you protect proprietary information from attack. Ultimately it protects your reputation.

Major China manufacturers like Dahua, HikVision, Uniview are not impacted, from everything we have seen. We executed the proof of concept code from the disclosure on multiple devices and were unable to gain access using the backdoor.

The backdoor primarily impacts devices using HiSilicon SOC with Xiongmai software, which is dozens of small OEM manufacturers, using minimally modified OEM firmware, Open Source OS and drivers, and enabling telnet on port 9530.


For Firewalls 

SL No

Guidance

Compliance

1

Update the router to the latest firmware version.

 

2

Disable ping (ICMP) response on WAN port.

 

3

Disable UPnP (universal plug-and-play).

 

4

Disable IDENT (port 113).

 

5

Disable remote management of the router.

 

6

Change the default administrator password.

 

7

Enable stateful packet inspection (SPI).

 

8

The settings for a firewall policy should be as specific as possible. Do not use 0.0.0.0 as an address.

 

9

Check for incoming/outgoing traffic security policy

 

10

Check for firewall firmware / OS updates

 

11

Allow only HTTPS access to the GUI and SSH access to the CLI

 

12

Re-direct HTTP GUI logins to HTTPS

 

13

Change the HTTPS and SSH admin access ports to non-standard ports

 

14

Restrict logins from trusted hosts

 

15

Set up two-factor authentication for administrators

 

16

Create multiple administrator accounts

 

17

Modify administrator account lockout duration and threshold values

 

18

Create multiple administrator accounts

 

19

Check if all management access from the Internet is turned off, if it does not have a clear business need. At most, HTTPS and PING should

 

20

Ensure that your SNMP settings are using SNMPv3 with encryption and configure your UTM profiles

 

21

All firewall policies should be reviewed every 3 months to verify the business purpose

 

For Routers

SL No

Guidance

Compliance

1

Do not use Default password for your router

 

2

Check if the router block access to a modem by IP address

 

3

Ensure that router admin gets an alert when a new device joins the network

 

4

Most routers let you disable UPnP on the LAN side

 

5

Enable port forwarding and IP filtering for your router

 

6

Check if the router supports HTTPs, in some routers it is disabled by default

 

7

If HTTPS is supported, can admin access be limited exclusively to HTTPS?

 

8

Check if the TCP/IP port used for the web interface can be changed

 

9

To really prevent local admin access, limit the LAN IP address to a single IP address that is both outside the DHCP range and not normally assigned.

 

10

Check if the admin access can be limited to Ethernet only

 

11

Check if the router access can be restricted by SSID and/or by VLAN

 

12

The router should not allow multiple computers to logon at the same time using the same userid

 

13

Check if there is some type of lockout after too many failed attempts to login to the web interface

 

14

Make sure the remote administration settings are turned off by default

 

15

Check if the port number can be changed remotely

 

16

If you forget to logout from the router, eventually your session should time out, and, you should be able to set the time limit, the shorter, the more secure

 

17

Inbound WAN: What ports are open on the WAN/Internet side? The most secure answer is none and you should expect any router not provided by an ISP to have no open ports on the Internet side. One exception is old school Remote Administration, which requires an open port. Every open port on the WAN side needs to be accounted for, especially if the router was provided by an ISP; they often leave themselves a back door. The Test your Router page links to many websites that offer firewall tests. That said, none of them will scan all 65,535 TCP ports or all 65,535 UDP ports. The best time to test this is before placing a new router into service.

 

18

Inbound LAN: What ports are open on the LAN side? Expect port 53 to be open for DNS (probably UDP, maybe TCP). If the router has a web interface, then that requires an open port. The classic/standard utility for testing the LAN side firewall is nmap. As with the WAN side, every port that is open needs to be accounted for.

 

19

Outbound: Can the router create outgoing firewall rules? There are all sorts of attacks that can be blocked with outgoing firewall rules. Generally, consumer routers do not offer outbound firewall rules while business class routers do. In addition to blocking, it would be nice if the blocks were logged for auditing purposes. Note however, that devices connected to Tor or a VPN will not obey the outbound firewall rules.

 

For Network Switches

SL No

Guidance

Compliance

1

Check if the latest firmware is used.

 

2

Check the switch's user guide's for security features and see if the required ones have been implemented properly.

 

3

Create an Enable Secret Password Encrypt Passwords on the device

 

4

Use an external AAA server for User Authentication

 

5

Create separate local accounts for User Authentication Configure Maximum Failed Authentication Attempts

 

6

Restrict Management Access to the devices to specific IPs only

 

7

Enable Logging for monitoring, incident response and auditing. You can enable logging to an internal buffer of the device or to an external Log server.

 

8

Enable Network Time Protocol (NTP) - You must have accurate and uniform clock settings on all network devices in order for log data to be stamped with the correct time and timezone. This will help tremendously in incident handling and proper log monitoring and correlation.

 

9

Restrict and Secure SNMP Access

 

For Linux Servers

SL No

Guidance

Compliance

1

Update your package list and upgrade your OS

 

2

Remove unnecessary packages

 

3

Detect weak passwords with John the Ripper

 

4

Verify no accounts have empty passwords

 

5

Set password rules

 

6

Set password expiration in login.defs

 

7

Disable USB devices (for headless servers)

 

8

Check which services are started at boot time

 

9

Detect all world-writable files

 

10

Configure iptables to block common attacks

 

11

Set GRUB boot loader password

 

12

Disable interactive hotkey startup at boot

 

13

Enable audited to check for read/write events

 

14

Secure any Apache servers

 

15

Lock user accounts after failed attempts with Fail2Ban

 

16

Set root permissions for core system files

 

17

Keep watch for any users logging on under suspicious circumstances

 

18

In case of remote access activity: Make sure that the suspicious activity is flagged and documented

 

19

Make sure that the Suspected account privileges temporarily frozen

 

20

Make sure that there is a process in place for changing system configurations

 

21

Check that all system configuration changes are being recorded

 

22

Ensure start-up processes are configured correctly

 

23

Ensure regular users cannot change system startup configuration

 

24

Remove unused software and services

 

25

Review your server firewall security settings and make sure everything is properly configured

 

26

Make sure that membership to both the admin and superadmin group is restricted to as few users as Possible without causing any  problems

 

For Windows Servers

SL No

Guidance

Compliance

1

Install the latest service packs and hotfixes from Microsoft

 

2

Enable automatic notification of patch availability.

 

3

Set minimum password length.

 

4

Enable password complexity requirements.

 

5

Do not store passwords using reversible encryption. (Default)

 

6

Configure account lockout policy.

 

7

Restrict the ability to access this computer from the network to Administrators and Authenticated Users.

 

8

Do not grant any users the 'act as part of the operating system' right. (Default)

 

9

Restrict local logon access to Administrators.

 

10

Deny guest accounts the ability to logon as a service, batch job, locally or via RDP

 

11

Place the warning banner in the Message Text for users attempting to log on.

 

12

Disallow users from creating and logging in with Microsoft accounts.

 

13

Disable the guest account. (Default)

 

14

Require Ctrl+Alt+Del for interactive logins. (Default)

 

15

Configure machine inactivity limit to protect idle interactive sessions.

 

16

Require the "Classic" sharing and security model for local accounts. (Default)

 

17

Do not allow any shares to be accessed anonymously.

 

18

Restrict anonymous access to named pipes and shares. (Default)

 

19

Do not allow any named pipes to be accessed anonymously.

 

20

Do not allow everyone permissions to apply to anonymous users. (Default)

 

21

Do not allow anonymous enumeration of SAM accounts and shares.

 

22

Do not allow anonymous enumeration of SAM accounts. (Default)

 

23

Disable anonymous SID/Name translation. (Default)

 

24

Configure Microsoft Network Server to digitally sign communications if client agrees.

 

25

Configure Microsoft Network Server to always digitally sign communications.

 

26

Disable the sending of unencrypted passwords to third party SMB servers.

 

27

Configure Microsoft Network Client to digitally sign communications if server agrees. (Default)

 

28

Configure Microsoft Network Client to always digitally sign communications.

 

29

Allow Local System to use computer identity for NTLM.

 

30

Disable Local System NULL session fallback.

 

31

Configure allowable encryption types for Kerberos.

 

32

Do not store LAN Manager hash values.

 

33

Set LAN Manager authentication level to only allow NTLMv2 and refuse LM and NTLM.

 

34

Configure file system as well as registry permissions.

 

35

Ensure all volumes are using the NTFS file system.

 

36

Configure user rights to be as secure as possible: Follow the Principle of Least Privilege

 

37

Disable or uninstall unused services.

 

38

Configure log shipping (e.g. to Splunk).

 

39

Configure Event Log retention method and size.

 

40

Configure Policy Change audit policy & Privilege Use audit policy.

 

41

Configure Logon/Logoff audit policy.

 

42

Configure Account Management audit policy.

 

43

Configure the number of previous logons to cache.

 

44

Require strong (Windows 7 or later) session keys.

 

45

Configure machine inactivity limit to protect idle interactive sessions.

 

46

Digitally encrypt or sign secure channel data (always). (Default)

 

47

Configure Windows Firewall to restrict remote access services (VNC, RDP, etc.) to the organization VPN or only networks.

 

48

Configure the Windows Firewall in all profiles to block inbound traffic by default. (Default)

 

49

Enable the Windows Firewall in all profiles (domain, private, public). (Default)

 

50

Update and enable anti-spyware and antivirus software through Windows update.

 

51

Set the system date/time and configure it to synchronize against Organization time servers.

 

52

Disallow remote registry access if not required.

 

53

If RDP is utilized, set RDP connection encryption level to high.

 

54

Install software to check the integrity of critical operating system files.

 

55

Provide secure storage for Confidential (category-I) Data as required. Security can be provided by means such as, but not limited to, encryption, access controls, file system audits, physically securing the storage media, or any combination thereof as deemed appropriate.

 


Thursday, June 1, 2023

Ports on Security Camera NVR & DVR

Ports on Security Camera, NVR & DVR? 

When you receive your DVR you might be wondering what some of the ports are for. This article will explain some of them, the reason they are their as well as a little bit of history.

USB = Universal Serial Bus

Universal Serial Bus is an industry standard developed in the mid-1990s to replace the slower serial and ps2 communication ports on a computer.  The purpose was to be able to attach devices like a mouse, a keyboard, disk drives, network adapters, portable media players, and other devices that help qualify the word Universal in the name of the port.  It has become such a standard that it has evolved over the years as USB 1.x, USB 2.0, USB 3.0, USB 3.1, and USB Type-C.  The DVRs and NVRs continue with this trend by offering USB ports for connecting a mouse and flash drives or hard drives to the unit by using one of the available ports.  Unfortunately, USB keyboards are not supported by the operating system and only the online keyboard is available for entering data.  DVRs and NVRs are very similar to computers, so the device needs to be supported in the operating system.  This matters especially when connecting drives in the sense that you could try to use a USB drive that is too new for the unit.  A DVR or NVR manufactured during a certain era will only support flash drives and hard drives with sizes appropriate to that era.  For example, you will not find a 64GB flash drive or a 6 Terabyte hard drive in 2007.  There is no harm plugging in a USB drive to see if it is recognized since the port is plug and play.

Ethernet Port

An 8P8C (8 position 8 contact) modular connector, often called RJ45 (Registered Jack 45), has become an extremely important plug since the world wide web is connected with this standard Ethernet port on all kinds of devices.  Our DVRs have one Ethernet port so that they can connect to a router for access to the unit from the world wide web.  Our NVRs have the same port, and may also have power over Ethernet ports (POE) for cameras to connect to it for power and video data transmission.  You can buy an 8 channel NVR, for example, that has a built-in 8 port POE switch that allows you to plug 8 IP network cameras into the back of the unit.  You can also buy an 8 channel NVR that does not have any built in POE ports, so the video data would need to be networked back to the NVR.  This can congest a network if you have other computers and devices using the same routers and switches, but there are ways to design your network topology to reduce or separate traffic.

BNC Connector

The BNC connector derived its name from Bayonet Neill–Concelman, which is a combination of its bayonet mount locking mechanism and its inventors, Paul Neill and Carl Concelman.  The BNC connector is a quick connect radio frequency connector commonly made in 50 and 75 ohm versions used for coaxial cable. 

This connector has become the heart and soul of the analog and HD-CVI DVR because of a quick plug and play connection option.  Many people like to use existing coax cable and continue to use it with new technologies like HD-CVI rather than mess with a complete overhaul to an IP technology system.  While IP may be the future, this connector has found new legs with new technologies and should remain viable for years to come.  As long as coax cable still exists, the BNC connector will remain the default option.

RCA Connector

An RCA connector is designed to carry audio and video signals, and received its name from the Radio Corporation of America in the early 40s when it was designed to be an internal connector in home radio-phonograph consoles.  This port has evolved over the years to encompass video in the famous red, white, and yellow composite video.  Our DVRs and NVRs use the connector for audio-in and audio-out primarily since video on our DVRs is covered by the BNC port and NVRs use networking to transmit video.

HDMI Port

HDMI stands for High-Definition Multimedia Interface, and it is a proprietary interface designed for sending video and audio to and from HDMI compliant devices.  The video is uncompressed and the audio can be compressed or uncompressed.  Our DVRs and NVRs have this port as a connection option to a TV or monitor for viewing the live video or playback, as well as adjusting the settings of the unit through the menu options.  The main improvement of this port over VGA, for example, is the ability to do high definition without video loss, which allows us to see higher quality video.  This means that we can see more cameras on the screen at one time clearly and see more detail.

In Summary

There were many ports used in the past that are now likely on the way out.  Most notably is the RS485 connector that is used to control the PTZ cameras.  With Ethernet IP camera and HD-CVI camera technologies taking off, connecting a PTZ is now done over the one cable with no additional cables needed for PTZ control.  They should still be present on hybrids and tribrids, but anyone buying a new system should opt for one of the new technologies since video surveillance is about protecting assets.  VGA should hang around a little longer, but HDMIs ability to handle high definition video without video loss and audio on the same cable, make it very convenient.  RS232 / Serial, PS2, LPT, are all in the port graveyard, but there are likely still some machines out there that have them.

No doubt that new standard ports will come, as they are always being invented or improved.  The research and development teams at all technology companies are working towards the next big thing, so that they can create a new standard port for years to come.  DVR and NVR companies will incorporate any new port into their system that is useful as it grows in popularity.  For example, if a port replaces USB 3.0 for connecting external hard drives, that would become a standard very quickly.

Some software based port are required to come online of IP camera, DVR or NVR. One for the HTTP port (port 80) and one for the TCP port (port 37777). You will find that the majority of network devices which are accessible using an Internet browser will be set as standard to port 80, including IP cameras and routers etc. This is due to the standard port for HTTP, or information being displayed through an browser, being port 80.

HTTPS (Hypertext Transfer Protocol Secure) is a secured HTTP version where all traffic is bind with strong encryption that passes through Port 443. This port is also connected with TCP protocol and creates a secure connection between the webpages and browser.

Port 554 RTSP for communication between the Content Server and the Wowza Media Server. Needs to be open between the Content Server and the Wowza Media Server.

TCP port 9530 uses the Transmission Control Protocol. TCP is one of the main protocols in TCP/IP networks. TCP is a connection-oriented protocol, it requires handshaking to set up end-to-end communications. Only when a connection is set up user's data can be sent bi-directionally over the connection.
Attention! TCP guarantees delivery of data packets on port 9530 in the same order in which they were sent. Guaranteed communication over TCP port 9530 is the main difference between TCP and UDP. UDP port 9530 would not have guaranteed communication as TCP.

A web server would typically have this open and listening if there are any types of these activities. If the machine is windows you can run "netstat -a -b -v -n", to display the processes associated with a particular open port.

A backdoor was found in Chinese-produced DVRs and NVRs that secretly allowed access to the recorders. While it was first attributed to Huawei (HiSilicon), Huawei subsequently refuted their involvement.

How the Backdoor Works

The backdoor uses port knocking via the management port of vulnerable equipment. A series of commands are sent to the device via the management port, TCP 9530, which in turn opens telnet. When telnet is enabled the attacker can use one of six hardcoded root credentials to gain full control of the vulnerable device.

The skill level needed to exploit this is low and similar to the skill level needed to exploit the Dahua Wiretapping Vulnerability from last year, requiring a limited working knowledge of python. A proof of concept is available, which is used to:

  • Send a command to open Telnet on the target device (OpenTelnet: OpenOnce)
  • Use a pre-shared key for access (2wj9fsa2)
  • Receive an 8 character number / respond with that number + PSK
  • Open a Telnet session with the device
  • Login with 1 of 6 hardcoded root accounts

Major Chinese Manufacturer Impact Unlikely

Major China manufacturers like Dahua, Hikvision, Uniview are not impacted, from everything we have seen. We executed the proof of concept code from the disclosure on multiple devices and were unable to gain access using the backdoor.

The backdoor primarily impacts devices using HiSilicon SOC with Xiongmai software, which is dozens of small OEM manufacturers, using minimally modified OEM firmware, Open Source OS and drivers, and enabling telnet on port 9530.

Monday, May 15, 2023

Port Forwarding on a Netcomm 3G Broadband Router 3G15Wn

Port Forwarding on a Netcomm 3G Broadband Router 3G15Wn 

This guide will walk you through the steps of port forwarding on the Netcomm 3G Broadband router 3G15Wn (Firmware L411-402NVM-C01_R10)

NetComm's web user interface (UI) was easy to navigate, although for no reason we could determine loading any of the wireless configuration pages took an exceedingly long time, leading to frustration.

Almost every menu option also creates a drop down when you mouse over, which is fine enough, but some of those drop-down menus then expand sideways when you mouse over them, with no indication that there's further options hidden there in the first place. With 16 menu items under the "Advanced" menu, many of which have daughter menus, it's really quite easy to get lost, or have an idea of just how many features there are.

1) Open up your favorite browser and go to the router’s default gateway address.

http://192.168.1.1 (Default Address)

2) Log in to the router.

Default Username: admin

Default password: admin

3) Once you have logged into your router go to the “Advanced” tab hover over “NAT” then click “Port Forwarding”.

4) Click on “Add” ad the bottom of the page.

5) Be sure to select the radio button “Custom Service” and choose a name for the service (small description eg. web, camera, xbox, etc..). “Server IP Address” is the Internal IP address that you want the port to be open on. Be sure you have “Protocol” set to “TCP/UDP” and “External Port” is the port you wish to open, “Internal Port” is the port leading to the machine on your home network. Apply/Save.

Once you save the settings you should now be able to test your port at www.portchecktool.com. Please keep in mind your ISP (Internet Service Provider) can be blocking certain ports such as port 8025 and 21. You can call and ask if they are. If you are still not able to see the ports check your firewall and anti-virus software on your computer.

An example configuration, you have a web cam that has the IP address 192.168.1.100 and it runs on port 80. You want to be able to access this camera from outside your network on port 8080. You would enter the below values into port forwarding page.

Custom Service = Small Description

Server IP Address = 192.168.1.100

Protocol = TCP/UDP

External Port = 8080

Internal Port = 80

Then to view the camera you would use your No-IP host of “somehost.no-ip.com” like this: http://somehost.no-ip.com:8080 to reach the webcam.

Port Forward Troubleshooting

If you are having problems with a port forward, try the following.

1. If you did not exactly follow the How can I forward ports with pfSense? guide, delete anything you have tried, and start from scratch with those instructions.

2. Port forwards do not work internally unless you enable reflection. Always test port forwards from outside your network.

3. If you're still having problems, edit the firewall rule that passes traffic for the NAT entry, and enable logging. Save and Apply Changes. Then try to access it again from the outside. Check your firewall logs to see if the traffic shows as being permitted or denied.

4. Use tcpdump to see what's happening on the wire. This is the best means of finding the problem, but requires the most networking expertise. Start with the WAN interface, and use a filter for the appropriate protocol and port. Attempt to access from outside your network and see if it shows up. If not, your ISP may be blocking the traffic, or for Virtual IPs, you may have an incorrect configuration. If you do see the traffic on the WAN interface, switch to the inside interface and perform a similar capture. If the traffic is not leaving the inside interface, you have a NAT or firewall rule configuration problem. If it is leaving the interface, and no traffic is coming back from the destination machine, its default gateway may be missing or incorrect, or it may not be listening on that port. For certain types of traffic you may see return traffic indicating the host is not listening on that port. For TCP, this would be a TCP RST. For UDP, it may be an ICMP Unreachable message.

Common Problems

1. NAT and firewall rules not correctly added (see How can I forward ports with pfSense?). Hint: You probably do NOT want to set a source port.

2. Firewall enabled on client machine.

3. Client machine is not using pfSense as its default gateway.

4. Client machine not actually listening on the port being forwarded.

5. ISP or something upstream of pfSense is blocking the port being forwarded

6. Trying to test from inside your network, need to test from an outside machine.

7. Incorrect or missing Virtual IP configuration for additional public IP addresses.

8. The pfSense router is not the border router. If there is something else between pfSense and your ISP, you must also replicate port forwards and associated rules there.

9. Forwarding ports to a server behind a Captive Portal. You must add an IP bypass both to and from the server's IP in order for a port forward to work behind a Captive Portal.

10. If this is on a WAN that is not your default gateway, make sure there is a gateway chosen on this WAN interface, or the firewall rules for the port forward would not reply back via the correct gateway.

11. If this is on a WAN that is not your default gateway, ensure the traffic for the port forward is NOT passed in via Floating Rules or an Interface Group. Only rules present on the WAN's interface tab under Firewall Rules will have the reply-to keyword to ensure the traffic responds properly via the expected gateway.

12. If this is on a WAN that is not your default gateway, make sure the firewall rule(s) allowing the traffic in do not have the box checked to disable reply-to.

13. If this is on a WAN that is not your default gateway, make sure the master reply-to disable switch is not checked under System > Advanced, on the Firewall/NAT tab.

14. WAN rules should NOT have a gateway set, so make sure that the rules for the port forward do NOT have a gateway configured on the actual rule.

Monday, May 1, 2023

Netgear Genie R7000 Port Forwarding for Security DVR

Netgear Genie R7000 Port Forwarding for Security DVR 

Within the Netgear Genie Nighthawk R7000, there is a port forwarding section you will need to access for port forwarding. To enable port forwarding on your system you will need to make “port rules” in your router to allow select traffic from the internet to allow access to devices on your network.  Without this configuration you will not be able to view your surveillance cameras remotely either online or from your phone. Therefore you must go through the steps listed below to configure your router to allow for this traffic. This particular guide is for the Netgear Genie Nighthawk R7000..

You can use this guide to help configure port forwarding on the Netgear Genie router for any device on your network.  There are two rules that must be made on your router for your security surveillance system. One rule for port 80  and one rule for port 37777. Port 80 is a port that is commonly used by other applications as well, so in the event that it is already being used by another service, you will have to use another rule such as port 8080.  For this demonstration we will use port 8080 as an example.

You must check your DVR’s network menu and change the HTTP Port from 80 to 8080 if you need to utilize a different port number.

1) Access your router

You must access your router on your home network in order to make any changes. To do this you need to find your Default Gateway(Router’s IP address) of your network. You can follow this guide {here} to find your default gateway.  For this type of router, it is commonly 192.168.1.1.  Type this IP address directly into your internet browser bar to bring up the router login screen. Here you will be prompted for your login credentials. If you do not know your login  credentials, you can check online for the manufacturer default, or call your internet service provider..

2) Navigate to Port Forwarding Section

Once you have accessed your router, you will see two tabs at the top for “Basic” and “Advanced.”

Choose “Advanced” to bring up choices on the left side of the screen. Click on the “Advanced Setup” drop down menu and from here select the option “Port Forwarding / Port Triggering.” This will bring up the menu we need to create port rules in your router.

3) Create Port Forwarding Rules

First at the bottom of the menu there will be an icon for “add custom service.” Click here to make your first rule. You will see several areas that you need to fill out to create this rule. Let’s go through the steps and make the first rule for port 8080.

3.1) Service name

This is the name you want to give your port rule.  Make it something easy to find and distinguish later, such as “port 8080.”

3.2) Service type

This is the type of service you are creating. Keep this TCP/UDP

3.3) External starting point and External ending point

Both of these options must be the port number you are creating the rule for, in this case type 8080.

3.4) Internal Starting Port and Internal ending point

Again, both of these must be the port number you are creating the rule for, in this case type 8080.

3.5) Internal IP address

This is the IP address of the device you are accessing with this port rule. The device, you want internet traffic routed to. For this, you must type in your DVR’s, NVR IP address, found in the DVR’s, NVR networking section.

After these steps are completed, hit “apply” to create this rule. You have just created the necessary port rule for port 8080. Follow these steps again and create a rule for port 37777, using the same steps but everywhere you entered 8080 before, you would now enter 37777. If you have created these two rules appropriately, you should be ready to access your DVR, NVR remotely either online or through your phone.

4) Scanning your Ports

Last, you want to make sure that the rules you configured are applied to your router and active, meaning that these ports are now open for use. You can check if your ports are open by scanning the ports.

Go to GRC.com to scan for open ports on your internet connection. This must be done from the same internet connection as to which the DVR, NVR is connected.

Click Proceed to begin, and wait for the next page to load.

When the page reloads, you will then type just the two port numbers in the search bar separated by a comma such as "8080, 37777" not  "port 8080, port 37777."  Click "User Specified Custom Port Probe" to check for open ports on your router.

Look only at the status next to each port after the scan is complete  If the status next to the ports is "Open", then the port rules should be applied correctly and you are done. If they say "Closed" then the rules were not created properly or there is some other issue happening.  If they say "Stealth" however, this points to an issue with your internet service provider (ISP). Your ISP is blocking these or all ports from being used for whatever reason and you will have to contact them to resolve this issue.