Blogs

Location:Home - Blogs
Port Mapping: Make your end devices available from the Internet


Last time we talked about VPN schemes in remote networking.


undefined


VPN is widely used in enterprises. Its purpose is to establish more secure connections between different branches or between employees on business trips and the enterprise office, and then perform other access operations based on this link, such as FTP, CRM, ERP, WWW, financial system, Internet telephone, etc. However, if you don’t have such high requirements and just want to provide services externally, you can consider using port mapping. Today we will only discuss one type of port mapping/forwarding, which is also considered as DNAT. To allow Internet users to access servers on the Intranet, you need to perform port mapping on the Router of the egress gateway so that services on the Intranet can be accessed through the public IP address of the egress gateway plus the service port number. Therefore, the prerequisite for port mapping is that the Router connecting to the Internet through an ADSL broadband Router must have a dynamic or fixed Public IP address, or obtain a Public IP address assigned by the carrier through dial-up Internet access.


Port mapping is to map a port of the IP address of an extranet host to a machine on the Intranet to provide corresponding services. When a user accesses this port of the IP, the server automatically maps the request to a machine within the corresponding LAN. Port mapping can be dynamic or static.


Generally speaking, port mapping is to map the Intranet (LAN) IP address of a host to a public network (WAN) IP address. When a user accesses a port on a host that provides the port mapping, the server forwards the request to a host that provides the specific service on the LOCAL LAN. The port mapping function can also be used to map multiple ports of an external IP address machine to different ports on different Intranet machines. The port mapping function can also perform some agent-specific functions, such as proxy for POP, SMTP, TELNET, and other protocols. In theory, the mapping between 65535 (total number of ports) and 1024 (reserved number of ports) =64511 ports can be provided.


Port mapping is a common operation during router configuration. The purpose is to change ports for different services to achieve more flexible applications.


As the following show, Any device which is capable of reaching the Internet can access the IP camera on site A (192.168.2.2:80) via port mapping(10.5.30.180:8001).


undefined


Here we’re configuring the Router at site A.


After login to the Web UI, you can navigate to Status->Network Connections to check the static IP of the device. The cellular Static IP of my IR302 is 10.5.30.180.



undefined


Then you can navigate to Status->Device List to check the connected device and their assigned IP addresses. The IP of my IP camera is 192.168.2.2.


undefined


Firewall-> Port Mapping

undefined


Source IP: 0.0.0.0/0 (allow any IP from the external port- Cellular 1) Service port: the service ports open on the router.Internal Address: IP addresses of the lower-end devices.Internal ports: service port of the lower-end devices.


For example, here is when any external address accesses port 8001 of 10.5.30.180 (assume it is dial-up assignment), it actually accesses port 80 of 192.168.2.2 (lower side IP camera)



The PC at site B can enter 10.5.30.180:8001 to access the IP camera on site A.






IoT Products
Edge Routers
IoT Edge Gateway
Industrial Cellular Router
Serial-to-Cellular Modem
IoT Software & Service
IoT Solutions
Branch Networking
Smart Grid
Industrial Automation
Transportation
Retail
About Us
Company Profile
News
Contact Us
Newsletter Signup
Customer Service
Legal Notice
Privacy Policy
Warranty Policy
+1 (703) 348-2988
inhand networks, inhandnetworks, lte, 4g, 4g-lte, 3g, umts, dsl, ethernet, cellular, gprs, wireless, wired, wi-fi, vpn, m2m-vpn, openvpn, ipsec-vpn, secure, reliable, dual-sim, 2-sim, redundant, rugged, din-rail, din-rail-mounting, ul-certified, fcc-certified, ptcrb-certified, verizon-wireless-certified-, at&t-certified, ce-certified-, emark-certified, azure-iot-certified, cost-effective-, ipv6, python-programming, reliability, security, high-speed, lte-cat-1, router, gateway, routers, cellular-gateway, modem, hardware, software, cloud-platform, applications, ethernet-switch, managed-switch, vehicle-router, car-router, dtu, data-terminal-unit, computer, vending-computer, vending-pc, manufacturer-, manufacturing, android-computer, iot, industrial-iot, industrial-internet-of-things, m2m, industrial-m2m, m2m-communication, remote-communication, wireless-m2m, remote-connectivity, remote-access, m2m-connectivity, iiot, industrial-networking, industrial-wireless, m2m-iot, smart-vending-, touchscreen-vending, cloud-vms, telemeter, vending-telemetry, cashless-vending, light-industrial-, commercial-, distribution-automation, distribution-power-line-monitoring, fault-location, fault-detection, da-monitoring, smart-grid, transformer-monitoring, intelligent-substation, goose-messaging-, remote-machine-monitoring-, remote-secure-networks, remote-secure-networking, secure-web-based-scada--, remote-diagnostics, remote-maintenance-, plc-programming, intelligent-traffic-enforcement, ct-scanners-remote-monitoring, mri-remote-monitoring, healthcare-, wireless-atm, branch-networking-, retail-, digital-signage, wastewater-treatment, remote-monitoring, industrial-automation, automation, industrial-transport, inhand, inhand network, inhand networks, Industrial IoT, IIoT, Industrial IoT Manufacturer, Industrial IoT Connectivity, Industrial IoT Products, Industrial IoT Solutions, Industrial IoT Products, industrial IoT Gateway, industrial IoT router, M2M IoT gateway, M2M IoT router, industrial router, Industrial IoT Router/Gateway, industrial IoT Gateway, industrial LTE router, Industrial VPN router, Dual SIM M2M router, Entry-level Industrial Router, Cost-effective, 3G/4G LTE, Wi-Fi, VPN industrial router for commercial and industrial and M2M/IoT applications., Industrial 3G Router, Industrial 3g router, UMTS router, VPN routerIndustrial 3g router, UMTS router, VPN router, DIN-Rail router, cellular router, Industrial IoT Gateway, Industrial IoT Gateway, M2M gateway, VPN gateway, remote PLC programming, Industrial Cellular Modem, Cellular modem, data terminal unit, 3g modem, Industrial 3G Cellular Modem, 3g modem, industrial cellular modem3g modem, industrial cellular modem, industrial wireless modem, data terminal unit, Android Industrial Computer, Android Industrial Computer, Vending PC, Vending Telemetry, Vending Telemeter, Android Industrial Computer, Android Industrial Computer, Vending PC, Vending Telemetry, Vending Telemeter, Touchscreen & Vending PC, Vending Touchscreen, Vending Telemeter, Vending Telemetry, Vending Computer, Industrial LTE Router, industrial IoT Gateway, industrial LTE router, Industrial VPN router, Dual SIM M2M router, Industrial IoT Router/Gateway, industrial IoT Gateway, industrial LTE router, Industrial VPN router, Dual SIM M2M router, Industrial LTE Router, Industrial LTE router, industrial 4G/3G router, router industrial, cost-effective industrial LTE router, Industrial LTE Router, Industrial LTE router, industrial IoT router, router industrial, cost-effective M2M router, M2M LTE router, Industrial 3G Router , Industrial 3g router, industrial wireless router, VPN router, DIN-Rail router, cellular router, Industrial 3G Router , Industrial 3g router, industrial wireless router, VPN router, DIN-Rail router, cellular router, Distribution Power Line Monitoring System, Overhead Line Monitoring, Distribution Power Line Monitoring, Fault detection & location, Grid Analytics System, Remote Machine Monitoring & Maintenance System, IoT Remote Monitoring, Prognostics and Health Management, Remote connectivity, Remote Maintenance, Smart Vending, smart vending, InHandGo, retrofit, touchscreen vending, cashless vending, cloud VMS, Transformer Monitoring, Transformer Monitoring, substation monitoring, grid LTE router, wireless communication, smart grid, Remote Automation, Remote Automation, Secure remote networks, web SCADA, Remote Diagnostics, Remote PLC programming, Intelligent Traffic Enforcement, Intelligent Traffic Enforcement, wireless networking, cellular router, Wireless ATM Solution, Wireless ATM, ATM Remote Diagnostic