Is Unity Multiplayer tutorial LAN or WAN or both?

I just completed unity multiplayer tutorial and I was wondering to know whether its local area network based game or Wide area network based game. Suppose if I publish it, will players all around the globe be able to play or they have to connect sitting near (Like mini militia).

The tutorial is LAN. There are others that teach how to host the game on an actual server.