how do you set a camera to be accessed from an outside network?

I read the manual of the camera, search for what port and protocol is used to connect to the camera, configure port forwarding in the router with the correct port to the ip address of the camera and finish my work.
