All Mods Resource Packs Data Packs Shaders Modpacks Plugins
UPNP for dedicated servers

UPNP for dedicated servers

by PigCart • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

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.

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.

How to Install UPNP for dedicated servers (Mod)

UPNP for dedicated servers by PigCart is verified for Fabric, Forge, Neoforge across Minecraft versions 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1 (latest release: 2.1.1, file size: 22 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1) and platform (Fabric, Forge, Neoforge).
  2. Make sure you have the compatible loader or environment installed for Fabric, Forge, Neoforge.
  3. Move the downloaded UPNP for dedicated servers file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.21.x 1.20.6
Neoforge
last yr. 1
1.19.4
Fabric
last yr. 1
1.21.x 1.20.x
Fabric
last yr. 1
1.21.x
Neoforge
last yr. 1
1.19.4
Fabric
last yr. 1
1.21.x 1.20.x
Fabric
last yr. 1
1.21.x 1.20.x
Fabric
last yr. 1
1.21.x 1.20.x
Neoforge
last yr. 1
1.21.x 1.20.x
Neoforge
last yr. 1
1.21.x 1.20.x
Fabric
last yr. 1
1.21 1.20.x
Neoforge
last yr. 1
1.21 1.20.x
Fabric
last yr. 1
1.20.x
Forge
last yr. 1
1.18.2
Forge
last yr. 1
1.18.x 1.17.x 1.16.5
Fabric
last yr. 1
1.19.x
Fabric
last yr. 1
[2.1.1] v2.1.1 by PigCart on Jul 17, 2025
Download
  • lowered neoforge support to 1.20.6
  • tweaked logging
  • upnp command shows multiple ip addresses, if existing
[2.1.1] v2.1.1 by PigCart on Jul 17, 2025
Download
  • lowered neoforge support to 1.20.6
  • tweaked logging
  • upnp command shows multiple ip addresses, if existing
[2.1.1] v2.1.1 by PigCart on Jul 17, 2025
Download
  • lowered neoforge support to 1.20.6
  • tweaked logging
  • upnp command shows multiple ip addresses, if existing
[2.1.0] 2.1.0 by PigCart on Jul 13, 2025
Download
  • ipv6
  • supports neoforge for mc1.21.1 and later
  • supports fabric for 1.19.4 and mc1.20.1 and later
[2.1.0] 2.1.0 by PigCart on Jul 13, 2025
Download
  • ipv6
  • supports neoforge for mc1.21.1 and later
  • supports fabric for 1.19.4 and mc1.20.1 and later
[2.1.0] 2.1.0 by PigCart on Jul 13, 2025
Download
  • ipv6
  • supports neoforge for mc1.21.1 and later
  • supports fabric for 1.19.4 and mc1.20.1 and later
[2.0.3] 2.0.3 fabric 1.20+ by PigCart on Nov 10, 2024
Download
build with java 17 to restore compat with minecraft versions older than 1.20.5
build with java 17 to restore compat with minecraft versions older than 1.20.5
  • new config, please make sure to rewrite your config. fixes versioning issue with geyser.
  • updated dosse/upnp with fixes and basic error logging
[2.0.2] 2.0.2 fabric 1.20+ by PigCart on Oct 19, 2024
Download
  • new config, please make sure to rewrite your config. fixes versioning issue with geyser.
  • updated dosse/upnp with fixes and basic error logging
temp fix for geyser support
UPNP for dedicated servers Icon
Download UPNP for dedicated servers
Select game version
Select platform