Security question

I’m new to the My Cloud world and have a security related question.

Specifically, how does My Cloud work? Does it act as a dynamic dns service that provides my remote devices with an IP address and they then connect directly to my home device?  Or does all data pass through WD as part of the connection?

AFAIK I know it all goes through WD.