Skip to content

Running version 0.13? Its documentation is on the 0.13 site. Go to the 0.13 documentation

Forward the port automatically (UPnP)

To use the station from the internet, your router must forward the public port to the station. Usually you make that forwarding rule by hand on your router (see Use the station from the internet). With UPnP, the station asks the router to make the rule itself. UPnP (Universal Plug and Play) is a way for devices on your network to ask the router for a forwarding.

The option is Ask the router to forward the port (UPnP). It is off unless you turn it on, and offered with a wrcs.tech domain name or your own domain, not for local only.

With UPnP on in a router, any device on your network can open ports through it, not only this station. Turning UPnP on in the router is a choice for the whole network. Forwarding the port by hand is safer. Turn UPnP off in the router once you no longer use it.

Turn it on

Turn UPnP on in the router

  1. Open the router management page. Its address is on the label of the router, often 192.168.1.1 or 192.168.0.1.
  2. Look under Network, NAT, Advanced or Port forwarding for UPnP.
  3. Switch it on, and save.

Turn the option on in the station

Open Settings › Station › Ways to reach, and under Advanced, switch on Ask the router to forward the port (UPnP). In the guided setup, the same option is under On your router in the Remote use card, marked For experienced users.

Read the risks and confirm

The page says Before you turn it on. with the risks above. Choose Turn on UPnP forwarding, or Cancel to leave it off. The page then shows the steps for the router under Turning UPnP on or off in a router.

Turn on remote use

The station asks the router only while Use the station from the internet is on, under Remote use. Until then the option says The router is asked once remote use is on.

The station then asks the router to forward the public port to the station, over TCP and UDP. TCP carries Web Radio Control and its controls, and UDP the faster way for the audio. The router keeps the forwarding for an hour, and the station renews it every 30 minutes. When the station stops, it asks the router to remove the forwarding, so a station that loses its power loses the forwarding within the hour.

Check: the option says The router forwards ‹port›, TCP and UDP, to the station · renewed ‹time›, every 30 minutes. Then choose Test under Remote use: both cards say Reached in ‹n› ms.

What the page shows

The page saysWhat it means
Asking the router to forward ‹port›…The station is asking the router.
The router forwards ‹port›, TCP and UDP, to the station · renewed ‹time›, every 30 minutesThe router forwards the port. The test from the internet shows whether the internet reaches the station.
The router is asked once remote use is on.Remote use is off, so nothing is forwarded.
This router keeps the forwarding until it is removed. The station removes the forwarding when UPnP or remote use is turned off, and when the station stops.The router takes no time limit. A forwarding left behind by a power cut is removed when the station next starts.

When the router doesn’t forward the port

The page saysWhat to do
No router on the station’s network answered. Turn UPnP on in the router, or forward the port by hand.Turn UPnP on in the router, or forward the port by hand.
The router refused to forward 443: ‹reason›., with Many routers refuse ports under 1024 by UPnP. Try 8443, which UPnP then asks your router for.Many routers forward by UPnP only ports from 1024 up, and so refuse 443. Choose Try 8443. 8443 then becomes the public port, and the station asks the router for it at once. Or forward 443 by hand.
The router refused to forward ‹port›: ‹reason›.A rule of yours or another device may hold the port. Remove the rule, or choose another public port. Some routers forward only to the same port number. Then make the public port 8443, the remote control port of the station, or forward by hand.
The router did not answer: ‹reason›.The router answered the search but not the request. Restart the router, or forward the port by hand.

The station asks again every 30 minutes. Turning the option off and on asks at once.

A router behind another

If the page says The internet address of the router, ‹address›, is not the public address of the station., another router or the network of your internet provider lies between your router and the internet (double or carrier-grade NAT). The forwarding then doesn’t reach the station from the internet. Forward the port on the router in front of yours too, put your router in bridge mode, or use a private network, which needs no port forwarded (see Use a private network).

Over IPv6

Over IPv6 nothing is forwarded. Each device has its own address, and the IPv6 firewall of the router decides what comes in. While UPnP, remote use and the IPv6 of the station are all on, the station also asks the IPv6 firewall of the router for a pinhole, an opening that lets connections from the internet in to the IPv6 address of the station on the public port, over TCP and UDP. The pinhole is leased and renewed like the forwarding.

The page saysWhat to do
The router’s IPv6 firewall lets ‹port›, TCP and UDP, in to ‹address›Nothing. Test under Remote use shows whether the internet reaches the station over IPv6.
The router does not let the station open its IPv6 firewall by UPnP. …Many routers offer no such control. Let the port in to the address of the station in the IPv6 firewall of the router by hand.
The router refused to let ‹port› in over IPv6: ‹reason›.A port under 1024, or a router that allows no pinholes. Choose a public port from 1024 up, or let it in by hand.
The router did not answer over IPv6: ‹reason›.The router answers UPnP over IPv4 only. Let the port in by hand.
The station has no global IPv6 address, so the router’s IPv6 firewall is not asked.Your network gives the station no IPv6 address that the internet reaches.

None of these stops the forwarding over IPv4. How the IPv6 address goes under the public name of the station is in IPv6 under the public name.

Turn it off

Switch off Ask the router to forward the port (UPnP). The station asks the router to remove the forwarding and close the pinholes. If the router doesn’t answer, they end with their lease, within the hour. Turning remote use off removes them too, and they come back when remote use is on again. A forwarding rule you made by hand stays until you remove it on the router.

Then turn UPnP off in the router, if no other device needs it.

While the option is on, the firewall of the station lets in the answers of the router to its search (see The firewall).

If something went wrong
  • The option isn’t shown. The station is local only. Choose a wrcs.tech domain name or your own domain first (see Change how the station is reached).
  • The router forwards the port, but the test from the internet reaches nothing. Another router may be in front of yours, or your provider shares one address among many customers. See A router behind another, and From the internet.
  • The forwarding is still on the router after you turned UPnP off. The router didn’t answer. It ends within the hour, or remove it on the router.
Last updated on