I just spun up my first Kali Linux instance and am trying to connect to the gui from my home windows machine using VNC Viewer but I am getting "Timed out waiting for a response from the computer"
I have created a firewall rule to allow TCP:5901-5910, tagged it, and applied that tag to my kali server.
I checked the iptables:
$ sudo iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Ensured the connection is allowed:
$ nc XXX.XXX.XXX.XXX 5901
RFB 003.008
I am really not sure what I am missing.
Any help would be greatly appreciated.
Thanks,
Mike