> Question: do you use a different tool which require no maintenance or cost to run? Answer: ZeroTier -- on Mac, Linux (home & cloud), Windows, Android I actually setup DNS entries resolving to private IPs as configured in ZeroTier so I didn't have to login to dig them up but my default DNS provider won't resolve them. I guess newer ZeroTier versions optionally have DNS covered these days but I haven't looked into it…
Same, zerotier on everything. Router, laptops, servers, phone. It makes things very easy to connect without public addresses.
SSH into private machines from anywhere using Cloudflare Tunnel
91–100 of 197 posts
Re: SSH into private machines from anywhere using Cloudflare Tunnel
#92Wow, that commenting system is so nice. I was looking for something like that! Amazing :) Edit: it sees https://utteranc.es/ is used.
Re: SSH into private machines from anywhere using Cloudflare Tunnel
#93Can we stop posting stuff that makes even more people give the keys of their house to the BigCorp cartel?
Re: SSH into private machines from anywhere using Cloudflare Tunnel
#94I'm under the impression that this is against CloudFlare's ToS, otherwise I'd probably be doing it myself. See section 2.8 "Limitation on Serving Non-HTML Content." of their subscriber agreement: use of the Services for serving video or a disproportionate percentage of pictures, audio files, or other non-HTML content is prohibited, unless purchased separately as part of a Paid Service or expressly allowed under our S…
That's for Cloudflare's CDN/reverse-proxy service. This is the correct one for Cloudflare Tunnel: https://developers.cloudflare.com/cloudflare-one/connections...
Re: SSH into private machines from anywhere using Cloudflare Tunnel
#95Earlier quoted context omitted.
That's for Cloudflare's CDN/reverse-proxy service. This is the correct one for Cloudflare Tunnel: https://developers.cloudflare.com/cloudflare-one/connections...
This seems to be the license for cloudflared. But when you use cloudflared to create a tunnel via cloudflare network, aren't you also bound to Cloudflare's ToS because the software itself is useless without using the service provided by Cloudflare?
Re: SSH into private machines from anywhere using Cloudflare Tunnel
#96TIL `ProxyCommand cloudflared access ssh --hostname %h`
I assume in this way we can even host mincraft servers (or any binary TCP protocol service) with cloudflared?
Re: SSH into private machines from anywhere using Cloudflare Tunnel
#97> Question: do you use a different tool which require no maintenance or cost to run? Answer: ZeroTier -- on Mac, Linux (home & cloud), Windows, Android I actually setup DNS entries resolving to private IPs as configured in ZeroTier so I didn't have to login to dig them up but my default DNS provider won't resolve them. I guess newer ZeroTier versions optionally have DNS covered these days but I haven't looked into it…
So in addition to ZeroTier, I use AutoSSH [1] to setup and maintain a persistent ssh tunnel on a high port on my vps. It's a lot faster than ZeroTier's relay because the vps is in a neighboring city instead of in another country. It's pretty reliable too, automatically reconnect when the tunnel is down. I'm still using ZeroTier for backup connection though.
Simply use `autossh -M 0 -o "ServerAliveInterval 30" -o "ServerAliveCountMax 3" -v -N -R 22222:localhost:22 user@my-vps-domain` to forward port 22222 on your vps into your local machine. I also configured a supervisord instance to automatically start it on my machine so it'll always running.
Re: SSH into private machines from anywhere using Cloudflare Tunnel
#98Earlier quoted context omitted.
This seems to be the license for cloudflared. But when you use cloudflared to create a tunnel via cloudflare network, aren't you also bound to Cloudflare's ToS because the software itself is useless without using the service provided by Cloudflare?
I am literally Cloudflare's CTO. I'm pretty sure I know that using Cloudflare Tunnel for SSH isn't a violation of our service.
Re: SSH into private machines from anywhere using Cloudflare Tunnel
#99I like it because of the easy web interface, and ability to tag / organize machines. Authentication is really simple.
Re: SSH into private machines from anywhere using Cloudflare Tunnel
#100Can we stop posting stuff that makes even more people give the keys of their house to the BigCorp cartel?