UPNP for Dedicated Servers
This mod automatically configures port forwarding for your dedicated Minecraft server using UPNP technology. It independently opens necessary ports when the server starts and properly closes them upon shutdown. An ideal solution for those who want to quickly set up a gaming session with friends, avoiding the complexities of manual router configuration or using third-party hosting providers.
How to Use
All port forwarding settings can be modified in the configuration file located at config/upnp.txt.
In-game, the /upnp command is available, which displays information about currently forwarded ports and the IP address that players should use to connect to the server.
The mod supports forwarding both TCP and UDP ports. By default, only the standard Minecraft port TCP 25565 is opened.
If you're using additional mods like Simple Voice Chat or Geyser, be sure to add the relevant ports to the configuration for their proper operation.