Description
UPNP Plugin is code plugin to make you easy to add and delete UDP/TCP port mapping on network devices which are compatible with UPNP Protocal (https://en.wikipedia.org/wiki/Universal_Plug_and_Play). It allows your game to use P2P under NAT. It’s based on WANIPConnection:1 Service Template Version 1.01 (http://upnp.org/specs/gw/UPnP-gw-WANIPConnection-v1-Service.pdf). It uses SocketSubsystem and HttpModule in UE4 and exposes necessary fuctions in blueprint. It doens’t use any third party library.
Technical Details
Blueprint samples are available on the sample project.
Number of C++ Classes: 9
Network Replicated: No
Window, Mac, Mobile
Window, Mac, Android
https://github.com/woodsshin/UPNPSample
Once you forward TCP/UDP port, it’s valid out of your network. It means you need a machine out of your network to use forwarded ports. It’s UPNP Protocol spec.
Supported Engine Versions
4.15 – 4.27, 5.0 – 5.3