Cloudflare Tunnel + WinSCP?

Advertisement

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,517
Location:
Prague, Czechia

Re: Cloudflare Tunnel + WinSCP?

What is "Cloudflare tunnel"? Is it a proxy? What kind of proxy (HTTP, SOCKS, other?)? Or is it an SSH tunnel?

Reply with quote

Nnnes
Guest

This is not difficult to set up assuming you have already followed the instructions to set up SSH via cloudflared access (https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/use-cases/ssh/) and are able to SSH into the host.

In WinSCP's Advanced settings, go to Connection > Proxy. Set "Proxy type" to "Local". Under "Proxy settings" in "Local proxy command", copy and paste the same command that you have for your ProxyCommand in your SSH config file, e.g.
cloudflared access ssh --hostname cf-tunnel.example.com
(don't include ProxyCommand at the beginning). You shouldn't need to change any other settings to make the tunnel work; just set up your authentication (username, password/SSH keys, etc.) as usual. I think the "Host name" field in the basic settings can be anything as long as it's not blank.

Reply with quote

Advertisement

You can post new topics in this forum