Back to mods
UPNP for dedicated servers project artwork

Modrinth · Minecraft mod

UPNP for dedicated servers

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

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which UPNP for dedicated servers release matches 26.1.2?

Updated last month
Best match for your filters 4.0.0
Game version 26.1, 26.1.1, 26.1.2
Loader NeoForge

UPNP for dedicated servers 4.0.0 targets 26.1, 26.1.1, 26.1.2 with NeoForge. Do not install it on the client. It must be installed on the dedicated server. No extra mods listed for this file.

Where it goes

Is UPNP for dedicated servers required on the client, server, or both?

Do not install it on the client. It must be installed on the dedicated server.

Client Not supported
Dedicated server Required
Loader for this release NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked server-only.

What else does UPNP for dedicated servers 4.0.0 need?

4.0.0 on 26.1.2. Every mod below is checked against that same setup.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add UPNP for dedicated servers without breaking your instance.

Built for UPNP for dedicated servers 4.0.0 on 26.1.2. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 4.0.0. It targets 26.1, 26.1.1, 26.1.2 with NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Do not install it on the client. It must be installed on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 4.0.0. It opens that exact file at the source.

About this project

What does UPNP for dedicated servers add?

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.

Project description from Modrinth.

Pick your setup

UPNP for dedicated servers by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

10 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

UPNP for dedicated servers versions and loaders

2 of 6 releases match
Clear filters

Looking for an older file? The official Modrinth project page is in Resources.