Settings

Theme

Rathole – A lightweight reverse proxy in Rust like frp and ngrok

github.com

22 points by cwaffles 2 years ago · 6 comments

Reader

GabrieleR 2 years ago

What is the setup required to obtain the equivalent of running : ngrok http 8080?

elwebmaster 2 years ago

Is there a performance benefit to this over an SSH tunnel?

  • bcaxis 2 years ago

    Ssh struggles with high connection counts and has performance issues that crop up and require the forward to be torn down and rebuilt occasionally when I have high connections over time.

    Performance, while it's working, I've found to be generally good. But there are clear ceilings to the method that you hit when trying to use it heavily.

    I never saw any issues when I used it to forward ports for myself. But the moment I tried to use it for production for a small service it falls on it's face regularly unless I baby it.

  • LargoLasskhyfv 2 years ago

    Sure. Because it's enabling you to establish such tunneling in the 1st place, when working from behind private/non-routable IP-addresses behind NAT.

    Without that you wouldn't have any performance at all, in that case. If you're using public IPs you simply don't need it, because no NAT is involved.

    • elwebmaster 2 years ago

      I don’t get what you mean:

      Machine A -> public IP Machine B -> behind NAT

      You can always SSH from Machine B to Machine A and expose any local Machine B port to the internet as a port on Machine A. The feature is called GatewayPorts and is a standard SSH feature (at least in OpenSSH). It does not require installing anything other than SSH on Machine A (or even Machine B, unless you want a script to re-establish the tunnel upon disconnect).

      • LargoLasskhyfv 2 years ago

        Anywhere, Anyplace, Anytime -> public IP running that thing and pointing to -> that thing running behind your dynamic and NATed IP -> golden/Bob's your uncle/gotcha covered/whatever

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection