How can I configure cloudflared to forward SSH traffic to a specific server?

Responsive Ad Header

Question

Grade: Education Subject: Support
How can I configure cloudflared to forward SSH traffic to a specific server?
Asked by:
76 Viewed 76 Answers

Answer (76)

Best Answer
(338)
You'll need to configure cloudflared with your Cloudflare Zone ID and a Tunnel ID. Then, use the `--ssh` flag with the tunnel ID and the internal IP address and port of your SSH server (e.g., `cloudflared tunnel ssh 192.168.1.100:22`). Ensure your SSH server is configured to accept connections from the internal IP address.