promotional bannermobile promotional banner
header
UPNP for dedicated servers avatar

UPNP for dedicated servers

Install

Automatically forwards ports for your dedicated minecraft server with UPNP. Opens ports when the server starts, and closes them when it stops. Useful if you want to quickly set up a server for your friends without the hassle of third party hosting or manually forwarding ports. Requires Architectury API

Usage:

The forwarded ports are configurable in the config file at config/upnp.txt.

Use the /upnp command to see in chat which ports are mapped and the IP players need to connect to the server with.

Both UDP and TCP ports can be opened. By default only the port TCP 25565 will be opened (the default port for Minecraft servers).

If you are using mods such as Simple Voice Chat or Geyser, you must add the relevant ports to the config.