The way to access VNC is to tunnel it via SSH. It's not safe to leave exposed.
So connect from the outside to your Raspberry Pi via your router with SSH to make a tunnel. Then connect your VNC client to the local end of that tunnel.
Code: Select all
sudo /usr/sbin/sshd -T | sort