Ngrok + Metasploit over wan

I’m using ngrok with Metasploit in 2 years after you do some security testing you cant penetrate in the same port again because it generates new port… is there any Technique for this as a maintaining access for this?