Connect to remote Elixir node via ngrok

So, I’m trying to connect my local elixir node to one that is running in a remote machine that doesn’t have any port open.

I was wondering if it would possible to connect them by exposing the remote node via ngrok.

Did someone ever managed to do that? Or is there some other good way to achieve the same?

Easiest is to set up a VPN, use Wiregaurd or Tailscale. As far as I can remember ngrok is made to proxy HTTP requests only.

3 Likes