Hi
I successfully set up a linux VM and connected over SSH and then installed a GUI and RDC software. However when I tried to run the RDC it asked for username and password (which i didn't know)
So I then tried to connect again using SSH and it failed to work giving this error:
We are unable to connect to the VM on port 22.
Please ensure that VM has a firewall rule that allows TCP ingress traffic from the IP range 0.0.0.0/0, port: 22.
In case you prefer to allow SSH connections for the narrower IP range, please consider using Identity-Aware-Proxy (IAP).
I checked and it looks like it does have this rule:
Ingress | http-server | IP ranges: 0.0.0.0/0 | tcp:80 | Allow | 1000 | Off | — | — | |||||
Ingress | https-server | IP ranges: 0.0.0.0/0 | tcp:443 | Allow | 1000 | Off | — | — | |||||
Ingress | Apply to all | IP ranges: 35.235.240.0/20 | tcp:22 | Allow | 65534 | Off | — | — | |||||
Ingress | Apply to all | IP ranges: 0.0.0.0/0 | tcp:22 | Allow | 65534 | Off | — | — | |||||
Ingress | Apply to all | IP ranges: 0.0.0.0/0 | icmp | Allow | 65534 | Off | — | — | |||||
Ingress | Apply to all | IP ranges: 10.128.0.0/9 | tcp:0-65535 udp:0-65535 icmp | Allow | 65534 | Off | — | — | |||||
Ingress | Apply to all | IP ranges: 0.0.0.0/0 | tcp:3389 | Allow | 65534 | Off | — | — | |||||
Ingress | Apply to all | IP ranges: 0.0.0.0/0 | tcp:22 | Allow | 65534 | Off |
I also tried to connect via Serial Console and that failed as well
Any ideas on how i can resolve would be gratefully received
thanks
Hello @lz7cjc ,Welcome on Google Cloud Community.
Those roles are applied based on "network tags" or all "instances within the network"?
If tag-based, be sure that your VM have corresponding tags for IAP and SSH.
--
cheers,
Damian Sztankowski
LinkedIn medium.com Cloudskillsboost Sessionize Youtube