3 ms·
> However, all of these methods usually require port forwarding, which can pose security risks. Except that pinggy appears to be an ngrok clone which is basica
by resoluteteeth 2y ago
> However, all of these methods usually require port forwarding, which can pose security risks.
Except that pinggy appears to be an ngrok clone which is basically equivalent to port forwarding in terms of security
If you don't want to expose the port for security reasons you are better off using tailscale/zerotier/wireguard
- mossTechnician 2y agoHow do you tell Pinggy is closer to ngrok than Tailscale? To me (I've never used any of these services) they all look more or less the same, with slightly different interfaces. I wouldn't know how to distinguish a more secure option from a less secure one. I see somebody else also mentioned Raspberry Pi itself has a similar service.
- abound 2y ago> How do you tell Pinggy is closer to ngrok than Tailscale? Taking a quick look at the article, it seems like you route traffic through Pinggy, whereas Tailscale is mostly (minus the TURN stuff) peer to peer with some NAT-busting
- PLG88 2y agoThe main difference is that Pinggy works via a public IP, whereas Tailscale is a private network overlay. Pinggy falls into the bucket of solutions like ngrok, zrok, Tailscale 'Funnel', Cloudflare Tunnel etc.
- PLG88 2y agoExcept its not. Port forwarding exposes your local environment to the internet, unrestricted. Pinggy (and other sharing platforms - https://github.com/anderspitman/awesome-tunneling https://github.com/anderspitman/awesome-tunneling) share a resource on a public IP, which should be at the very least behind basic auth. The 'better alternative' you describe is an overlay network. These things have different purposes.
- resoluteteeth 2y agoOK, looking into it more it appears that pinggy actually has pretty good options for adding authentication (I guess that's what you were referring to by basic authentication, not just the service being exposed having basic authentication) and based on that it does seem that it could be more secure than just forwarding the port if the service being exposed doesn't have built in authentication, and that would make me a lot more tempted to use it. The article for some reason didn't explain that at all or show examples using pinggy's authentication features. If the article had talked about that, the assertion about being more secure would have made a lot more sense.
- PLG88 2y agoAgreed. It surprises me that many of these services do not either lead with auth or have it as an important secondary. For many, port forwarding is a pain, so it solves that, but the security IMHO is just as important. It's a shame lists like - https://github.com/anderspitman/awesome-tunneling https://github.com/anderspitman/awesome-tunneling - do not call this out. fwiw, the one I work on, zrok.io (in truth, I work on its parent project, OpenZiti) has that hardening and auth because we believe its vital.
- rmbyrro 2y agoThe question is: how long until a vulnerability in your - now public - resource behind Pinggy is discovered and exploited? The vuln is there, trust me. If you use Wireguard or Tailscale, your network is private. Only other devices in this private network could explore this vuln.
- PLG88 2y agoWe dont disagree. As I stated, "These things have different purposes". If you want to publicly share a resource, use a tool which provides that in the knowledge that if there is a vulnerability, it could be exploited. Using an overlay network reduces the risk further, but it means the end user needs to have an endpoint (unless you have an overlay with a 'clientless endpoint', but that's another topic). For some use cases, the endpoint is infeasible.
- master_crab 2y agoYou still need to open a port for WireGuard. And you may be forwarding that open port if your gateway device doesn’t handle the vpn termination.
- extraduder_ire 2y agoHow does each compare to setting up a Tor hidden service that forwards to your ssh listening port? That's been my go-to for having a slow but reliable way to access a machine that might change network environments frequently, or be behind an odd network layout. I don't know what the security's like, but I haven't seen any other solution beat ease of the setup process. (install tor, write service ports into config file, copy URL somewhere safe, done.)
- rubatuga 2y agoThat's quite interesting. It would need Tor unblocked on both ends however, unless you are using a public gateway.