Home›Java›Mods›UPNP for dedicated servers
UPNP for dedicated servers
ModsJava

UPNP for dedicated servers

Java mod listed for Minecraft 1.16–1.21. Downloads from the MC Java Mods app on Android.

by PigCart · on CurseForge

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.20–1.21.8 · Fabric⬇ Download for 1.19.4 · Fabric⬇ Download for 1.19–1.19.2 · Fabric⬇ Download for 1.16.5–1.18.2 · Fabric⬇ Download for 1.20.6–1.21.8 · NeoForge⬇ Download for 1.20.2–1.20.5 · NeoForge⬇ Download for 1.20–1.20.1 · NeoForge⬇ Download for 1.20–1.20.4 · Forge⬇ Download for 1.18.2 · Forge
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.
UPNP for dedicated servers — screenshot 1

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.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more