UPNP for dedicated servers

UPNP for dedicated servers

This is a rework of dedicated UPNP by pigcart for 1.21.11 and 26.X. Neoforge supported

by
152 Downloads
fabricneoforgeutility
Rent Server with this Mod

About this Mod

This is remake of UPNP for dedicated servers

WARNING, because I'm COMPLETE dumb person and I forgot about 26.1 that has NO MAPPINGS, ALL RELEASES before 4.0.0 DON'T SUPPORT 26.1/26.2

UPNP for dedicated Minecraft servers

UPNP for dedicated Fabric/NeoForge Minecraft Servers (as opposed to LAN servers, which there are plenty of other equivalent mods for).
Opens ports when the server starts, and closes them when it stops.

The forwarded ports are configurable in the config file at config/upnp.txt.
Both UDP and TCP ports can be opened. By default, only TCP port 25565 will be opened (the default port for minecraft). If you are using mods such as Simple Voice Chat or Geyser, you must add the relevant ports to the config.

You can use an online port checker to check if a port is open.

This primarily just wraps the WaifUPnP library as a minecraft mod,
binding the functions of the library to the server lifecyle and a command. The library has been modified slightly to log errors and implement some of the pending PRs on the original project as well as bugfixes from its forks.

Available Versions

UPNP for dedicated servers 4.0.0release
MC 26.1, 26.1.1, 26.1.2, 26.2neoforge
June 23, 2026
UPNP for dedicated servers 4.0.0release
MC 26.1, 26.1.1, 26.1.2, 26.2fabric
June 23, 2026
UPNP for dedicated servers 3.1.1release
MC 1.21.11fabric
April 26, 2026
UPNP for dedicated servers 3.1.1release
MC 1.21.11neoforge
April 26, 2026

How to Install UPNP for dedicated servers on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (26.2).

3

Install Mod

Open the mod browser in the dashboard and search for "UPNP for dedicated servers". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabricneoforge

Minecraft Versions

26.2, 26.1.2, 26.1.1 (+2 more)

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

UPNP for dedicated servers server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (26.2). You can switch loaders with one click in the panel.

Is UPNP for dedicated servers compatible with fabric and neoforge?

UPNP for dedicated servers officially supports fabric, neoforge for Minecraft 26.2, 26.1.2, 26.1.1. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with UPNP for dedicated servers – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if UPNP for dedicated servers consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install UPNP for dedicated servers with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

26.226.1.226.1.126.11.21.11