UPNP for dedicated servers
Java mod listed for Minecraft 1.16–1.21. Downloads from the MC Java Mods app on Android.
I don't know my version or loader

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.
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.21, 1.21.4, 1.20.6
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on CurseForge — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
- Ships as dedicatedmcupnp-2.0.0-forge-1.20.x.jar — drop this file into the mods folder
- Download size: 2.3 MB
- Download link checked 24 Sept 2026 — working
These come from our own check of the pack file, not from the source page.