5 ms·
Access your Raspberry Pi without a public IP
- supportengineer 2y agoHow/why would I trust "xrdp" and/or pinggy.io? It sounds like I'm allowing them unfettered access into my home network.
- josephcsible 2y agoxrdp is the standard Linux RDP server and is probably provided by your distro, which you have to trust anyway. And that `ssh -R` command only gives pinggy.io access to the host:port you specify, not your entire network.
- _mlbt 2y agoIn theory what you’re saying is true, but in practice if someone gains access to a machine on your network it becomes significantly easier to gain access to additional machines on your network.
- hedora 2y agoIt's had remotely exploitable vulnerabilities in recent years, and I know of no Linux distribution that configures it to listen on an external port by default. Pinggy does seem to support incoming IP whitelists, at least.
- 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.
- james_pm 2y agoOr just use https://www.raspberrypi.com/software/connect/ https://www.raspberrypi.com/software/connect/
- _mlbt 2y agoThank you! I never knew about this.
- aspenmayer 2y agoAre you associated with Pinggy?
- ghoshbishakh 2y agoOh! Something like this exists! Thanks for sharing.
- aspenmayer 2y agoThis post's content and tone in context of OP seems strange. You posted OP, yet didn't know about a first-party competitor to a product that you seem associated with, as per your bio? Is this some kind of astroturfing? https://en.wikipedia.org/wiki/Astroturfing https://en.wikipedia.org/wiki/Astroturfing > Astroturfing is the deceptive practice of hiding the sponsors of an orchestrated message or organization (e.g., political, advertising, religious, or public relations) to make it appear as though it originates from, and is supported by, unsolicited grassroots participants. It is a practice intended to give the statements or organizations credibility by withholding information about the source's financial backers. > The implication behind the use of the term is that instead of a "true" or "natural" grassroots effort behind the activity in question, there is a "fake" or "artificial" appearance of support.
- deleted 2y ago[deleted]
- ta988 2y agoHow is it different from tmate that allows to use ssh keys for auth?
- waingake 2y agoHere is a much better technique which only relies on SSH https://www.jeffgeerling.com/blog/2022/ssh-and-http-raspberry-pi-behind-cg-nat https://www.jeffgeerling.com/blog/2022/ssh-and-http-raspberr...
- emmelaich 2y agoIf you do this or similar, choose very good passwords because it is certain to be probed. Also consider using the whitelist option.
- sleepybrett 2y agotailscale/wireguard
- snvzz 2y agoThis. (but using headscale on the tailnet coordination)
- deleted 2y ago[deleted]
- morninglight 2y agoAT&T Archives on YouTube. https://www.youtube.com/playlist?list=PLDB8B8220DEE96FD9 https://www.youtube.com/playlist?list=PLDB8B8220DEE96FD9
- numberless 2y agoThese are certainly good ways to go about it, but https://www.raspberrypi.com/software/connect/ https://www.raspberrypi.com/software/connect/ does exist and is completely free and pretty easy to use
- johnklos 2y ago> In this blog, we’ll discuss how to securely connect to your Raspberry Pi or IoT device remotely from anywhere over the internet without port forwarding Port forwarding over ssh is still... port forwarding. This is neat and can be quite useful, but it's still port forwarding. There's nothing wrong with that - it's not like people will easily guess the hostname and port number and will start brute forcing ssh using this. But neither VNC nor RDP should ever, for any reason, be connected directly to the Internet, even if using a random port number. Use ssh with -L to connect to VNC or RDP over ssh.
- sigmonsays 2y agoi would consider this bad advice. The ssh process that does the port forwarding is not reliably running in the background. Opening ports like ssh or xrdp to the public internet is not good security practice. OP says it's not port forwarding, but it's still port forwarding. This seems like a simple service to make a quick buck. What you should really look into is setting up a VPN like wireguard.
- thrdbndndn 2y agoI've done tunneling/port forwarding/ANT config for years. I know how to get them work. But fundamentally, I still don't understand why such issue exists. Like, my (behind NAT, no public IP, whatever) device can visit any website or web services fine without any extra configuration. And obviously the servers of these services can reach me to send the content I need. But then suddenly, if I want to reach my device from outside, I need all these extra stuff. What's the difference? (I understand this is a very, very dumb question. Forgive my ignorance!)