This is the relevant part of the article:
Restrict external access to the QNAP NAS device. Ensure it is up to date with security patches and that strong credentials are employed.
I’d recommend everyone to not make local devices accessible from outside of your local network.
If you want to access them over internet, I’d use a vpn tunnel.