Poor man's ngrok with tcp proxy and ssh reverse tunnel

Kamal Mustafa on November 18, 2017

We have a private development server where we do most our work. But like all modern web application these days, it need to talk (or being talked ... [Read Full]
markdown guide

Better to add some fault-and-failover:
-o BatchMode=yes -o ServerAliveCountMax=15 -o ServerAliveInterval=300 -o ExitOnForwardFailure=yes

By the way, ssh cannot help binding privileged ports smaller than 1024, only if we remote ssh as root@remotehost (or any UID 0 identity)... safe but inconvenient.


Hi, thanks for the tips. Haven't try this but for binding to lower port, maybe we can use setcap to allow tcpproxy to bind to port < 1024.


Alternative to ngrok but simply use ssh as client. Brilliant idea - serveo.net/.

code of conduct - report abuse