Linode Kali- unable to connect via VPN

Deployed Kali through marketplace. Follow procedure to create tunnel. Never get connection. Error "open failed: connect failed: Connection refused"

I'm feeling pretty dumb at the moment have blown away and rebuilt a dozen times, no matter what I do for username/password combo getting this error? anyone experience deploying Kali/Linode and not being able to set up tunnel?

Guessing I'm probably the only idiot who can't…

thanks,

A

8 Replies

Did you check your firewall settings?

no firewall setup on linode….local machine is good to go.

this is the error I'm getting: channel 2: open failed: connect failed: Connection refused. I think the tunnel is open, however failing to connect using VCN and also Screenshare app on MAC.

VNC uses port 5900. Are you sure it is open? Without a firewall it should be but maybe Linode has configured it some other way? Why not install UFW and set it open yourself?

This previous post from the Community Questions site addresses some of your possible issues:

Since the Kali Marketplace installation takes quite a while, ensure you are giving it enough time to install. I would even follow along in Weblish.

Thanks waited 16 hours. Still getting error.
channel 2: open failed: connect failed: Connection refused shows up in command.

error from screen sharing app
Unable to communicate with “localhost”. Make sure the remote computer is available and the firewall is not blocking screen sharing.

error from vnc

he connection closed unexpectedly.

Giving up. multiple other products on linode running no issues, Kali is just not working for me….

That sounds frustrating. FWIW, I was able to deploy the app and connect without issue. From my terminal, I ran:

ssh -L 61000:localhost:5901 -N -l <my_username> <my.ip.address>

And in VNC, I input "localhost:6100" into the connection field at the top of the window. After that, the process played out as described in the Getting Started After Deployment section of the Marketplace guide.

You may also want to check out this post titled networking - ssh tunnel refusing connections with "channel 2: open failed" to see if you can apply any of the info there.

Thank you will read through in am. just loaded a a vultr instance up. Kali in 20m. running.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct