Port forwarding is a rule on your firewall or router that sends traffic arriving at your public IP address on a specific port to one chosen device inside your network. It is how a business lets someone outside the office reach an internal system directly, such as a camera recorder, a server or a phone system, and every forwarded port is an opening that anyone on the internet can try.
You will also hear it called "opening a port", "port mapping" or a "destination NAT rule", depending on the brand of firewall. They all describe the same thing: an exception to the normal rule that unsolicited traffic from outside gets dropped.
How port forwarding works
Most offices share one public IP address among every device inside. The firewall translates between that public address and the private addresses the devices use, a process called NAT. Outbound traffic is easy: a laptop starts a connection, the firewall remembers it and lets the reply back in. Our guide to public vs private IP addresses and NAT covers that part in detail.
Inbound traffic is the problem. When a connection arrives from the internet that nothing inside asked for, the firewall has no record telling it which device should get it, so it drops the traffic. A port forwarding rule supplies that missing instruction.
Ports are how one address carries many services at once. Each connection names a port number from 0 to 65535, and common services have standard ones: 443 for secure websites, 22 for SSH, 3389 for Windows Remote Desktop, 5060 for SIP phone signaling. A forwarding rule says, in effect, "anything arriving on this port and protocol goes to that internal address."
What a forwarding rule contains
Every firewall lays the screen out differently, but the fields are much the same. Illustration only; the addresses are examples.
| Field | What it means | Example |
|---|---|---|
| External (public) port | The port outsiders connect to on your public address | 8443 |
| Protocol | TCP, UDP or both, as the application requires | TCP |
| Internal IP address | The private address of the device that should receive the traffic | 192.168.10.20 |
| Internal port | The port the device listens on, which can differ from the external one | 443 |
| Allowed source | Which outside addresses may use the rule, ideally not "any" | A vendor's published address |
| WAN interface | Which internet circuit the rule applies to, if you have more than one | Primary circuit |
In this example, someone connecting to your public address on port 8443 reaches the device at 192.168.10.20 on port 443. The device behind the rule needs a fixed internal address, set on the device or reserved in DHCP. If its address changes, the rule quietly points at nothing, or at the wrong machine.
What businesses use it for
- Camera recorders and door systems viewed from outside the building, on systems that lack a cloud app.
- Servers in the office, such as a web server, a mail server or a client file portal.
- On-premises phone systems that receive SIP traffic from a trunk provider or remote handsets.
- Remote desktop to office computers, which is common and one of the riskiest uses (see below).
- Vendor support access to equipment such as building controls, point-of-sale servers or medical devices.
What your internet connection must support
Port forwarding only works if the traffic can reach your firewall in the first place. Three things on the connection decide that.
A real public IP address. Some services, especially cellular, fixed wireless and some low-cost broadband, use carrier-grade NAT. Your router gets an address the carrier translates again, and inbound connections never arrive, so forwarding rules on your router do nothing. A WAN address in the 100.64 to 100.127 range is the usual giveaway.
An address that does not change. Forwarding works on a dynamic address until the address changes, and then everyone outside is connecting to the wrong place. A dynamic DNS service can track a changing address, but a static IP address is the dependable answer. Dedicated internet access usually includes a small static block; on shared services it is often an add-on, so check the quote.
One layer of NAT. If the carrier's gateway and your own firewall both translate addresses, you have double NAT. Traffic has to be forwarded through both devices, and many things break along the way. The usual fix is putting the carrier device in bridge mode or having it pass a static IP through, as our post on carrier equipment vs your own router explains.
Port forwarding and security risks
Automated scanners sweep the entire IPv4 internet continuously, looking for open ports. A newly forwarded port can be found within hours. Whatever sits behind it then receives a steady stream of login attempts and probes for known flaws.
That makes the device behind the rule your real security boundary. Remote Desktop on port 3389 exposed to the internet has long been a common entry point for ransomware crews, because a guessed or stolen password gives a full desktop inside your network. Cheap cameras and recorders with default passwords or old firmware are another frequent target.
Some habits reduce the exposure considerably:
- Forward only what is truly needed, and remove rules when a project ends.
- Restrict each rule to known source addresses where the use allows it.
- Keep the device behind the rule patched, with strong unique passwords and multi-factor sign-in where it is supported.
- Put forwarded devices on their own network segment so a compromise cannot spread to staff computers.
- Turn off UPnP on the firewall, a feature that lets devices inside open ports by themselves without anyone noticing.
- Log connections to forwarded ports and review the logs.
Moving a service to an unusual port number cuts down on casual scanning noise, but scanners check every port, so it is no protection by itself. Our small business firewall guide covers the default-deny setup that should sit around any forwarding rule.
Port forwarding vs VPN and other options
For staff reaching office systems, a VPN is usually the safer choice. Only the VPN gateway faces the internet, it requires sign-in before anything is reachable, and it is built and patched for that job. Many camera and building systems now connect outward to a cloud service, which avoids inbound connections altogether.
| Option | What faces the internet | Sign-in before access | Good fit |
|---|---|---|---|
| Port forwarding | The internal device itself | Only if the device asks for it | Public services, vendor access restricted by source address |
| Remote-access VPN | The firewall or VPN gateway | Yes, with multi-factor where configured | Staff reaching files, desktops and internal apps |
| Zero trust access service | Nothing inbound; a connector dials out | Yes, per application | Limiting each user to specific apps |
| Vendor cloud relay | Nothing inbound; the device dials out | Yes, through the vendor's app | Cameras, door controls, smart building systems |
| 1:1 NAT with a static block | One server, mapped to its own public address | Only if the server asks for it | Hosted servers that need many ports |
Our guide to business VPN options compares remote-access, site-to-site and zero trust approaches in more depth.
Before you open a port: a checklist
- Can the vendor's cloud app or a VPN do the job instead?
- Do you have a public, static IP address, and no carrier-grade NAT or double NAT in the path?
- Does the internal device have a reserved address that will not change?
- Which exact ports and protocols does the application need? Get the list from the vendor in writing.
- Can the rule be limited to specific source addresses?
- Is the device fully patched, with default passwords changed?
- Who owns the rule, and when will it be reviewed or removed?
One more detail trips people up during testing. Connecting to your own public address from inside the office often fails, even when the rule works for outsiders, because the firewall does not support or has not enabled "NAT loopback" (also called hairpin NAT). Test from a phone on cellular data instead.
How FiberX helps
FiberX gets quotes from several carriers for your address and checks the details that decide whether inbound access will work: whether the service uses carrier-grade NAT, how many static IPs are included and whether the carrier's equipment can run in bridge mode. If you want help with the firewall side, we can quote managed network and cybersecurity services as well. The carrier pays us, so there is no markup. Request a quote, or call or text 478-758-8091.