maxdraco

Port forwarding

Passing connections that arrive on a port of one machine on to a port on another.

Concept Networking

Port forwarding takes connections arriving at one port and hands them on to another address. On a home Router it is how a device inside the network is made reachable from the internet, which also makes it reachable to anyone scanning for it. SSH and similar tools can forward a port through an encrypted connection instead, so one program can reach something on a distant network.

See also

  • NAT (and hairpin NAT) Network address translation: how a router lets many devices share one public internet address.
  • Tunnel (networking) A connection that carries one kind of network traffic wrapped inside another.
  • Proxy (and reverse proxy) A go-between that makes network requests on someone else's behalf and passes the answers back.
  • Access point (Wi-Fi) The device that broadcasts a Wi-Fi network and connects wireless devices to the wired network.
  • ARP Address Resolution Protocol: how a device on a local network finds the hardware address that goes with an IP address.
  • Captive portal The sign-in or terms page a public Wi-Fi network shows before it lets you onto the internet.
  • Cisco US company that makes networking equipment such as switches, routers and firewalls.
  • Client (client-server) A program that connects to a server to ask it for something.

Sources

  1. RFC 4254: The Secure Shell (SSH) Connection ProtocolIETFofficial healthy, checked 2026-11-15 archived copy
  2. Port forwardingWikipedia healthy, checked 2026-11-15 archived copy