What is port forwarding?

More self-tutoring about computer networks: the tutor examines the idea of port forwarding.

From a practical point of view, port forwarding is a way to set up a router so that outside inquiries can reach a resource behind it, in the internal network.

Port forwarding relies on a two-part construct:

  1. The application the outside users want dwells on a dedicated device in the internal network;
  2. Said application is reached via a specific port on that specific device.

(See yesterday’s post for an explanation of what a port is.)

Typically, a router will block unsolicited traffic from accessing computers behind it, which is its firewall function.

Let’s imagine the application you want to enable outside users to access is reached via port x0y0 on local device D0. The port forward that will enable such access:

Router, when a request for port x0y0 arrives, send it along to D0, port x0y0.

Now, outside clients can reach that inner device D0, through the firewall and past the router, by virtue of their request for port x0y0. The setup is called port forwarding.

Source:

CCTV Camera Pros

Jack of Oracle Tutoring by Jack and Diane, Campbell River, BC.

Leave a Reply