Port Forwarding
Port forwarding exposes a device’s port on your VPS’s public IP address. This is how you make services reachable from the public Internet.
Warning
Port forwarding requires a dedicated public IPv4 address on your VPS. Shared IPv4 addresses (CGNAT, shared NAT, load-balanced IPs) and IPv6-only VPSes cannot be used to expose services to the clearnet. Confirm with your VPS provider before purchasing.
Note
StartTunnel acts as a port-control gateway for connected devices, speaking PCP (preferred) and UPnP. A StartOS server using this tunnel opens the ports it needs automatically when you enable a public address — the same way it would behind a home router — and removes them when the address is disabled or deleted. For security, an automatically created forward always targets the requesting device’s own tunnel IP; a device can only open ports to itself. The steps below are for adding or managing forwards manually.
Manual and automatic forwards
The Port Forwards page shows two tables: Manual forwards you added by hand, and Automatic forwards opened by connected devices via PCP/UPnP. You can enable, disable, or remove either; automatic forwards have no editable label (they’re owned by the device that created them) and may be re-created if you remove one while the device still wants it.
Add a forward manually
-
In StartTunnel, navigate to
Port Forwardsand click “Add”. -
Select the external IP address you want to use (there is usually only one).
-
Enter the external port and the internal (device) port as. In almost all cases, they will be the same.
-
If you are forwarding port
443 -> 443, you will see a checkbox to also forward port80 -> 443. This is highly recommended, as it will automatically redirect HTTP to HTTPS. -
Click “Save”.