Insights
Is port forwarding safe?
Learn what port forwarding exposes, when to keep a service private, and how to check who can reach a forwarded port.

On this page
Port forwarding can be reasonable for a service that's built for public use and that you keep updated. But a public forward lets strangers try to connect unless your firewall or access rules block them. It doesn't open your whole network, and it doesn't make the service safe.
In short:
- Public access. Reserve public forwards for maintained services built for public use.
- Private access. Keep remote administration and services for trusted users off the public internet.
- Host isolation. Limit what a public host can reach on your private network.
What becomes reachable when you forward a port
A port is a number that helps a device direct network traffic to the right service. A public forward sends traffic for a specific port to a designated device, subject to your firewall and access rules. Someone who can reach that port can try to connect to the service on that device. The rule doesn't give them a direct path to your other devices.
What can go wrong once a service is public
Forwarding makes a service reachable, but it doesn't check who users are or fix software flaws. An archived CISA advisoryOpens in a new tab notes that attackers scan for open ports and use them as a way in. Once they can reach a service, they can try weak or stolen passwords or take advantage of flaws in the software.
Check who can reach the service. Say you host a public game server on the same network as your private storage. A player list controls who can join the game, not who can try to connect to the game service. Check which incoming connections your firewall allows separately from who the game lets join.
Check what the host can reach. From the game host, check whether it can connect to your private storage. If it can, someone who takes over the host could use that same path. A narrow incoming rule doesn't block those connections. Put the game host on a separate network segment with firewall rulesOpens in a new tab that block access from that segment to private devices.
When to keep the port closed
- Decide who needs access. Keep remote administration and services for you or a few trusted people private. Use a public forward only for a service built to accept connections from the public internet.
- Leave it off if you can't maintain or isolate the host. Keep the service updated and separate the host from private devices. Use strong authentication where the service requires users to sign in.
- Match the rule to the service. Use the service's documented port and protocol: Transmission Control Protocol (TCP) or User Datagram Protocol (UDP), as specified. Limit who can connect where possible, and remove rules you no longer need.
- Review what stays enabled. Every public forward should have a named service, a reason for public access and a rule no broader than the service needs. That review doesn't check your live settings or prove the service has no flaws.
Port Forwarding is included with doxx.net Pro. The documented menu pathOpens in a new tab is Account → Settings ⚙ → Connection Settings → Port Forwarding. Selecting a port doesn't tell you whether the forward is public.
How to check who can reach your service
Run these checks only on a service you own or administer. Test intended access separately from connections that should be blocked.
- Try the private path. Connect from a private device that has permission to use the service. A successful connection shows that this private path works, not that it's the only path.
- Try each public path. From outside the private network, try connecting to the service's public address and port separately over Internet Protocol version 4 (IPv4) and version 6 (IPv6), where applicable. If you restrict public access, check from both an outside source you allow and one you don't. A successful connection shows the service was reachable from that source.
- Fix results that don't match your intent. If an outside connection works when it shouldn't, disable the unintended forward or tighten the access rules, then recheck. If an intended connection fails, check that the host is connected, the service is listening on the right port and the rules allow that path. One failed attempt doesn't prove the service is unreachable from everywhere.
On doxx.net, a forwarded IPv4 port is reachable only through the doxx.net network without a dedicated public IPv4 address. With one, the port can be public, subject to firewall and access rules. The documentation describes forwarded IPv6 ports as publicly reachable, so the absence of a dedicated public IPv4 address doesn't settle who's able to connect over IPv6.
Where doxx.net fits. doxx.net is a private network that runs on its own hardware and address space. If only trusted devices need access, you can create an account and download the appOpens in a new tab to connect a device privately.