Earlier quoted context omitted.
could you give more details? what steps are involved in this?
Basically: autossh -M 20000 -N -R host:8080:localhost:80 user@host -M sets the control port for autossh which it uses to check if all is working right. The rest is standard SSH syntax; in this example, a loopback socket on port 8080 on host will get opened, and all requests to it are forwarded to localhost's port 80. If you want it to be a "real" socket instead of just loopback, set "GatewayPorts clientspecified" in…
Tunnelmole, an ngrok alternative (open source)
31–40 of 87 posts
Re: Tunnelmole, an ngrok alternative (open source)
#32Earlier quoted context omitted.
could you give more details? what steps are involved in this?
Basically: autossh -M 20000 -N -R host:8080:localhost:80 user@host -M sets the control port for autossh which it uses to check if all is working right. The rest is standard SSH syntax; in this example, a loopback socket on port 8080 on host will get opened, and all requests to it are forwarded to localhost's port 80. If you want it to be a "real" socket instead of just loopback, set "GatewayPorts clientspecified" in…
Re: Tunnelmole, an ngrok alternative (open source)
#33Earlier quoted context omitted.
These can work but all take a bit more work however than running a single command, including Cloudflare tunnels which according to their docs, requires you to make a DNS record on your domain. I use SSH reverse tunnels for some things where I need tighter security.
Cloudflare offers quick tunnels too, for when you dont have (or want) a domain. https://developers.cloudflare.com/cloudflare-one/connections...
Re: Tunnelmole, an ngrok alternative (open source)
#34Re: Tunnelmole, an ngrok alternative (open source)
#35Or, y'know, just open a reverse tunnel using autossh.
could you give more details? what steps are involved in this?
Re: Tunnelmole, an ngrok alternative (open source)
#36Its amazing how far we've fallen from the internet of the 90s when you could get this done on most ISPs with all of a phone call.
Re: Tunnelmole, an ngrok alternative (open source)
#37Earlier quoted context omitted.
Basically: autossh -M 20000 -N -R host:8080:localhost:80 user@host -M sets the control port for autossh which it uses to check if all is working right. The rest is standard SSH syntax; in this example, a loopback socket on port 8080 on host will get opened, and all requests to it are forwarded to localhost's port 80. If you want it to be a "real" socket instead of just loopback, set "GatewayPorts clientspecified" in…
is the `host` part here a server that you run yourself?
Re: Tunnelmole, an ngrok alternative (open source)
#38Re: Tunnelmole, an ngrok alternative (open source)
#39It's not mentioned anywhere in this blog post, but the project has a website at https://tunnelmole.com/ and a github repo at https://github.com/robbie-cahill/tunnelmole-client EDIT: And, actually, I don't think this is really an ngrok alternative. Unless I'm mistaken it looks like it only supports HTTP, whereas ngrok is a generic TCP proxy. (Albeit that ngrok does not support TCP half-close because it treats it like…
Re: Tunnelmole, an ngrok alternative (open source)
#40If you have a web server you control, it's pretty easy to use an ssh tunnel to do this and you control the entire thing.
One benefit of doing it on your own server is the static hostname you get with it. A new hostname every time you start up is not fun at all!