Blog


    Access raspberry pi remotely to control iot devices


    iot guide raspberrypi
    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, allowing you to remotely manage your devices more effectively. There are three main ways to access your Raspberry Pi remotely over the internet: SSH - Secure Shell, a cryptographic network protocol for secure remote access to devices over an unsecured network such as the internet.

    Outage Incident Report Nov 6, 2023


    outage incident
    Summary November 6, 2023 1.30 AM UTC - Major outage detected. All regions are affected. 2.30 AM UTC - Issue with DNS detected. The domain pinggy.online went to “serverHold”. No prior notice or response from the domain registrar. 5.30 AM UTC - Transferred domain from Porkbun to AWS Route53. 6.30 AM UTC - “serverHold” status persisted on AWS. Support tickets opened. 12.10 PM UTC - New domain “pinggy.link” configured. Tunnels accessible.

    Scaling across Multiple Regions


    engineering update
    A user from South Korea brought to our attention that Pinggy works great for them, but it is slow. The answer to “why” was obvious to us. Pinggy was hosting its servers in the USA, specifically in Ohio. One key goal of Pinggy is to provide not only tunnels but fast and reliable tunnels. To improve the situation, we decided to host the tunnels in the region nearest to where the user is creating the tunnel from (as the default behavior).

    TLS Tunnel


    guide tls
    A TLS tunnel, also known as an SSL tunnel, is a secure channel that allows data to travel between two endpoints while being encrypted and protected from eavesdropping and tampering. This form of tunneling relies on the TLS protocol to establish an encrypted connection between a client and a server, ensuring that the data exchanged between them remains confidential and secure. TLS tunneling provides end-to-end encryption which is essential for maintaining the confidentiality and integrity of data transmitted over the internet.

    T-Mobile Port Forwarding


    guide tcp
    TLDR Open terminal or command prompt. Paste the following command in the terminal (replace 22 with the port you want to forward): ssh -p 443 -R0:localhost:22 tcp@a.pinggy.io After running the tunneling command, you will receive a public URL in the following format: tcp://tljocjkijs.a.pinggy.online:40527 You can use this address and port to connect to your local port from outside the local network. Sign in to https://dashboard.pinggy.io to get persistent URLs and persistent TCP ports for your tunnels.

    Ngrok - But without downloading anything


    Paste this command to get a tunnel to localhost, port 8000: ssh -p 443 -R0:localhost:8000 qr@a.pinggy.io Your browser does not support HTML video. Ngrok is an excellent tool loved by developers worldwide. If you need to expose your localhost server, Ngrok comes in handy. However, utilizing Ngrok requires downloading a platform-specific program (binary) for your operating system, be it Mac, Windows, or Linux. Subsequently, you must make the binary executable and launch it from the terminal.

    Remote Desktop for Raspberry Pi and other IoT devices


    guide tcp
    You remotely access your Raspberry Pi desktop from anywhere using Remote Desktop Protocol (RDP). Even if your Pi is outside your local network, you can access it easily over the internet using Pinggy. TLDR Step 1. Run these commands on your Raspberry Pi: sudo apt update sudo apt install xrdp sudo systemctl start xrdp Step 2. Run this command to get a public URL to your Raspberry Pi: ssh -p 443 -R0:localhost:3389 tcp@a.

    Access localhost from your phone!


    update guide
    Your browser does not support HTML video. Pinggy now supports QR codes within the terminal! TLDR Start a Pinggy tunnel and press u or c to see QR code. Press Esc to hide QR code. Or use qr or aqr as username to always show QR in the terminal: ssh -p443 -R0:localhost:8000 qr@a.pinggy.io ssh -p443 -R0:localhost:8000 aqr@a.pinggy.io You can pass your token along with qr by appending them with the + symbol: ssh -p443 -R0:localhost:8000 token+qr@a.