How to start server in published third person template?

I’m trying to get the third person template to work over the internet, how would I start a listen server in one game and have another person connect to it? Also, which ports need to be forwarded to allow people to connect to the game?