You do need to port forward, which can be a bit complex.
I'd suggest looking up a tutorial on how to use Playit.gg, which is right now theeasiest way to do port forwarding.
And to save you some googleing, Unreal Engine games use the port 7777.