3 ms·
Well I didn't mention Cloudflare Tunnel but to answer your question per https://old.reddit.com/r/selfhosted/comments/1128ce9/cloudflare_tunnels_and_et/ https://
by password4321 4y ago
Well I didn't mention Cloudflare Tunnel but to answer your question per https://old.reddit.com/r/selfhosted/comments/1128ce9/cloudflare_tunnels_and_et/ https://old.reddit.com/r/selfhosted/comments/1128ce9/cloudfl...
1. Eternal Terminal does not support ssh_config ProxyCommand, so both tunnels must be TCP.
2. Cloudflare Tunnel TCP proxies through cloudflared running locally on the client. https://developers.cloudflare.com/cloudflare-one/applications/non-http/arbitrary-tcp#2-connect-to-the-resource https://developers.cloudflare.com/cloudflare-one/application...
#~/.ssh/config
Host et.example.com
Hostname 127.0.0.1
Port 10022
cloudflared access tcp --hostname ssh.example.com --url localhost:10022 &
cloudflared access tcp --hostname et.example.com --url localhost:12022 &
et et.example.com:12022
The following command must be run once to authenticate:
cloudflared tunnel login
- Banochkin 4y agoThank you! I already gave up and just ssh to the server, but thanks for your comment. At least I figured out how the forwarding works.