How to Make NetPing Accessible from the Internet?

  • Published In: FAQ
  • Created Date: 2015-05-17
  • Hits: 1219

To make a NetPing device located on the LAN available via the Internet, there is a need to configure port forwarding on your router.

Port Forwarding is a technology allowing to access a network device in the internal LAN behind a router from the Internet using NAT technology. The access is made by redirecting traffic from an external address of the router to the address of a selected network device in a local network.

NetPing Device Configuration

There is a need to connect a NetPing device to LAN for further configuring access to it via the Internet. There is a need to indicate an IP address of a gateway as well as a DNS server for domain names resolution in network settings of a device (in this example the gateway is a router where ports are forwarded). Network settings are configured in the page «Settings» of a device web interface:

NetPing Network settings

Before starting to forward ports, there is a need to make sure a NetPing device has access to the Internet from a local network. It can be done using «Pinger» module, which is configured in the page «Logic» of a device web interface:

NetPing - Pinger

In the field «Address» there is a need to enter an IP address or a domain name of a server on the Internet. When done successfully, a status of a module «Pinger» would be changed to «responds». This status means the NetPing device can address external resources on the Internet. In the example the NetPing device pings external address

Setting up Port Forwarding on the Router

In this example, we will examine the process of configuring a router of a SOHO class (Small office/home office) namely ZyXEL Keenetic.

To set up port forwarding, there is a need to enter a web interface of a router via address


The main window of a web-interface ZyXEL Keenetic will be opened:

web-interface ZyXEL Keenetic will be opened

To proceed to port forwarding, go to the menu «Security > Network Address Translation (NAT)». Click «Add a rule» and fill in the fields as shown in the screenshot:

Network Address Translation NAT


Interface there is a need to choose an external global WAN interface of a router. A value of the field depends on the type of authorization  («PPPoE», «PPTP» or«L2TP») used by a provider. If a provider does not use any, you should choose the interface «Broadband connection (ISP)». If a provider uses «PPPoE» to access the Internet, there is a need to choose a corresponding interface «PPPoE». If simultaneous access to the local network and the Internet is granted by a provider (Link Duo), there is a need to choose the interface «Broadband connection (ISP)» to forward a port from LAN, while a tunnel interface («PPPoE», «PPTP» or «L2TP») have to be chosen to forward a port from the Internet.

To access LAN resources from the Internet, you must have an external global IP address of a WAN interface of a router (in the example, global IP address of a router is If a WAN port of a device uses a private IP address of a private subnet, port forwarding will not be working.

Packages to address – this field is active when no interface is chosen. It is possible to indicate an external IP address of a router, where packages will be received. In most cases, this field is not required to fill in.

Protocol it is necessary to set a TCP protocol, which will be used to control a NetPing device through a web interface and SNMP when forwarding ports.

TCP/UDP ports there is a need to indicate a required external number of a port (in the example, a port 8021 is indicated for working with a web interface of a NetPing device from the Internet).

Forward to address  there is a need to indicate an IP address of a device in LAN, where ports are forwarded (in this example it is

New destination port number – is used to spoof a port (for port mapping, for example from 8021 to 80). It allows to transfer broadcasting to another port.

After necessary fields are filled in, click the button «Save changes».

If necessary, such setting of an address translation rule can be fulfilled via the interface of a command line (CLI) of a device using a command:

<config>>ip static tcp ISP 8021 21
<config>>system config-save

There is no need to configure a firewall for port forwarding because when address translation rule is used, a router ZyXEL Keenetic allows access to the specified port on default.

Therefore, as a result of this port forwarding rule setting, a web interface of a NetPing device will be accessible from the Internet by the address:

To manage a NetPing device from the Internet via an SNMP protocol, there is a need to create the second rule and indicate the next settings:

Network Address Translation NAT

Therefore, as a result of setting the second port forwarding rule, a NetPing device will be accessible from the Internet via an SNMP protocol by the address:

Tags: All devices
comments powered by Disqus