(Hamachi) Join / Create a session on a server based on a local network but not a local network

You can test without compiling dedicated server. Just create .bat file something like this:

"PATH_TO_YOUR_UE4\UE4Editor.exe" "%CD%\PROJECT_NAME.uproject" /Game/Maps/YOUR_MAP_NAME -server -log -nosteam -port=7778

Replace PATH_TO_YOUR_UE4 with your path to UE4, for example: C:\UE_4.24\Engine\Binaries\Win64*UE4Editor.exe
PROJECT_NAME
* - your project name, for example : mygame.uproject
YOUR_MAP_NAME - map that will be loaded

Call it for example: StartServer.bat and put it in your project folder. It will start dedicated server on port 7778 (you can change this).
Note: /Game/Maps/ is /Content/Maps in UE4 editor.