Port mappings
A mapping opens a port or a range of your address and takes it to a device on one of your sites. With no mappings, your address only answers ping.
The parts of a mapping
- Label: to recognize it, such as “Store web” or “Accounting RDP”.
- Protocol: TCP, UDP or both. Web pages and remote desktop use TCP; voice and many VPNs use UDP.
- Public port: one, a range such as
3000to3010, or the whole address. - Destination device and IP: who receives the traffic. For a single device, the destination IP is its tunnel address. For a router, its tunnel address or an IP in the networks that router reaches.
- Destination port: left empty it is the same as the public one. On a single-port mapping you can change it, for example so public
8443reaches443on your device. - Allowed sources: who can come in. Empty means anyone; add IPs or networks, such as
201.141.12.9or187.190.0.0/16, to let in only those.
Every change to a mapping reaches your node in under a minute, we email you about it, and it stays in your audit log.
The whole address in one mapping
With the “Whole address” scope, ports 1 to 65535 go to one device, except 51820 and 51821 UDP, which the tunnel uses. It is the closest thing to plugging that device straight into the internet: everything it has open is exposed. Use it only with a device ready for that, such as your own firewall.
You can have one whole-address mapping per protocol. Since it takes every port of that protocol, it cannot live alongside other mappings of the same protocol.
Reserved ports
Ports 51820 and 51821 UDP of your address belong to the tunnel and cannot be mapped. Every other TCP and UDP port is yours, 22 included.
Risky ports
Databases, remote desktop, Windows file sharing, VNC, Docker and similar services get automated attacks within minutes of being open to the internet. When a mapping covers one of those ports, the panel warns you and suggests limiting the allowed sources. Do it whenever you know where people connect from.
Which IP your device sees
It depends on the site’s mode. In “Inbound only”, your device sees every connection arrive from 10.77.0.1, your node’s address inside the tunnel. In the other two modes it sees the real IP of whoever connects. More in sites, devices and modes.