Your network has a public IP address, your computer does not. You can either tell your router to send any requests to a certain port to your computers internal ip address or you can set up a virtual private network for your friends to connect to.
I would definitely recommend the virtual private network route as it is much more secure and safe than opening a port on your router. There are many guides online about how to do this part