Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
Sichere ProgrammierungWhat is Programming And How i can Enjoy it?(24.09.2026 um 11:54 Uhr)
Sichere ProgrammierungYou Don't Need Adobe Commerce Cloud to Survive Black Friday(24.09.2026 um 11:55 Uhr)
Malware / Trojaner / VirenBeyond Lazarus: Organization of DPRK cyber capabilities(24.09.2026 um 11:59 Uhr)
Malware / Trojaner / VirenBeyond Lazarus: Organization of DPRK Cyber Capabilities(24.09.2026 um 11:59 Uhr)
Malware / Trojaner / VirenThe fake worker threat and the rise of human infiltration(24.09.2026 um 11:59 Uhr)
Malware / Trojaner / VirenPolinRider Spreads Through Compromised GitHub Accounts and Packagist(24.09.2026 um 11:59 Uhr)
Malware / Trojaner / VirenWeaselBiscuit Strips BeaverTail and OtterCookie Down to Essentials(24.09.2026 um 11:59 Uhr)
Sichere ProgrammierungWhat is Programming And How i can Enjoy it?(24.09.2026 um 11:54 Uhr)
Sichere ProgrammierungYou Don't Need Adobe Commerce Cloud to Survive Black Friday(24.09.2026 um 11:55 Uhr)
Malware / Trojaner / VirenBeyond Lazarus: Organization of DPRK cyber capabilities(24.09.2026 um 11:59 Uhr)
Malware / Trojaner / VirenBeyond Lazarus: Organization of DPRK Cyber Capabilities(24.09.2026 um 11:59 Uhr)
Malware / Trojaner / VirenThe fake worker threat and the rise of human infiltration(24.09.2026 um 11:59 Uhr)
Malware / Trojaner / VirenPolinRider Spreads Through Compromised GitHub Accounts and Packagist(24.09.2026 um 11:59 Uhr)
Malware / Trojaner / VirenWeaselBiscuit Strips BeaverTail and OtterCookie Down to Essentials(24.09.2026 um 11:59 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

Ngrok in Termux: Learn How to Install and Use it

Have you ever wanted to share your local projects with others or test webhooks directly on your Android device? ngrok makes it easy to expose your local server to the internet securely. In this guide, we’ll show you how to install and use n…

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!

Have you ever wanted to share your local projects with others or test webhooks directly on your Android device? ngrok makes it easy to expose your local server to the internet securely. In this guide, we’ll show you how to install and use ngrok in Termux step by step. By the end, you’ll be able to create secure tunnels and share your projects in no time!



How to Install and Use ngrok in Termux: A Complete Guide






Requirements








Step-by-Step Guide






1. Install Termux



If you don’t have Termux installed, download it from the official source. Once installed, open Termux and update it with the following command:




pkg update && pkg upgrade -y









2. Install Required Packages



ngrok needs wget and unzip to download and extract its files. Install them by running:




pkg install wget unzip -y









3. Download ngrok



Download the ngrok binary for Linux ARM using this command:




wget https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-stable-linux-arm.zip









4. Extract ngrok



Unzip the downloaded file using:




unzip ngrok-stable-linux-arm.zip









Setting Up Ngrok in Termux



After installing Ngrok, you’ll need to set it up by adding your Ngrok authtoken. The authtoken is a unique key that links your Ngrok installation to your account, allowing you to use Ngrok’s features.






1. Create a Ngrok Account



To get started, visit the official Ngrok website:



https://ngrok.com



Click the "Sign Up for Free" button and create an account by entering your name, email, and password. After signing up, log in to your new account.



Screenshot of the ngrok website homepage showing the headline 'All-in-one API gateway, Kubernetes Ingress, DDoS protection, firewall, and global load balancing as a service,' with a 'Sign up for free' button highlighted by an arrow.






2. Retrieve Your Ngrok Authtoken



Once you’re logged in, navigate to the dashboard by clicking on the menu (three lines) at the top left of the page.



Screenshot of the ngrok dashboard homepage with an orange arrow pointing to the hamburger menu icon on the top left.



Here, you will find your unique authtoken under the "Your Authtoken" section.



Screenshot of the ngrok dashboard showing the dropdown menu after clicking the hamburger icon, with a yellow arrow highlighting the



Copy this token to your clipboard.



Screenshot of the






3. Add the Authtoken in Termux



Now, return to Termux and enter the following command to set your Ngrok authtoken:




./ngrok authtoken PASTE_YOUR_AUTH_TOKEN_HERE






Info! Replace PASTE_YOUR_AUTH_TOKEN_HERE with the actual authtoken you copied from the Ngrok dashboard.



After successfully adding the authtoken, Ngrok is fully set up and ready to use in Termux.






Using Ngrok in Termux



With Ngrok installed and set up, you can now start creating secure tunnels to expose your local servers or applications to the internet. Here's how to use Ngrok in Termux:






1. Start a Ngrok Tunnel



To create a tunnel and make your local server accessible over the internet, run the following command in Termux:




./ngrok http 8080






This command starts an HTTP tunnel on port 8080. You can replace 8080 with any port number that your local server is running on. Ngrok will generate a temporary public URL that you can share with others to access your server.



Warning! Always turn on your mobile hotspot before creating a Ngrok tunnel. This ensures that your device remains connected to the internet and can maintain the tunnel.



With your tunnel running, you can now access your local server from anywhere using the generated URL. This is especially useful for testing webhooks, sharing your work with clients, or accessing your home server while on the go.



You will see output like this:



Screenshot of ngrok running in the Termux terminal. It displays session details such as account name, version (3.19.0), region (India), latency (38ms), and the forwarding URL (https://78f7-137-115-0-10.ngrok-free.app -> http://localhost:8080). The terminal also shows the web interface link and no active connections.



Access your server using the Forwarding URL.






Troubleshooting






Common Issues






1. Session Status reconnecting



If you encounter this error:



Error! Session Status reconnecting (failed to dial ngrok server with address "connect.ngrok-agent.com:443": dial tcp: lookup connect.ngrok-agent.com on [::1]:53: read udp [::1]:43475->[::1]:53: read: connection refused)



Solution: Enable your mobile hotspot to ensure active internet connectivity, then rerun the command:




./ngrok http 8080






This will resolve the issue and establish the tunnel successfully.






2. DNS Resolution Errors



If you see DNS errors, update your Termux DNS settings:





nano /data/data/com.termux/files/usr/etc/resolv.conf
# Add the following lines:
nameserver 8.8.8.8
nameserver 8.8.4.4










3. IPv6 Connectivity Issues



If ngrok tries to use IPv6 and fails, disable IPv6 in Termux:





nano /data/data/com.termux/files/usr/etc/sysctl.conf
# Add the following lines:
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1

# Apply the changes:
sysctl -p










Use Cases



ngrok is a versatile tool with many applications, including:




  • Testing webhooks with services like GitHub or Stripe

  • Sharing local projects with clients or team members

  • Debugging APIs running on your local machine



Success! Congratulations! You’ve successfully installed and configured ngrok in Termux. Now, you can securely share your local server with the internet in just a few commands. Don’t forget to explore ngrok’s advanced features for even more functionality.



Check out our Termux Guides for more tutorials. Have questions or tips? Share them in the comments below!

IoC Intelligence (2 Indikatoren)
8[.]8[.]8[.]88[.]8[.]4[.]4
CTI Threat Relationship Graph5 Knoten / 4 Relationen
CVE / Incident Software MITRE ATT&CK CWE Weakness IoC
SOC Incident Playbook: Remote Code Execution (RCE) Defense
title: Detect Exploitation - Ngrok in Termux: Learn How to Install and Use it
id: 58256ecc-4736-4da7-abe3-7c98750201e8
status: experimental
description: Automatisch generierte SIEM-Erkennungsregel basierend auf CTI Intelligence
references:
  - https://tsecurity.de/
author: iShareStuff CTI Automated Detection Engine
date: 2026-09-24
logsource:
  category: network_connection
  product: any
detection:
  selection:
      DestinationIp:
        - '8.8.8.8'
        - '8.8.4.4'
  condition: selection
falsepositives:
  - Legitime administrative Zugriffe oder Penetrationstests
level: high
tags:
  - attack.initial_access
rule CTI_Threat_Indicator {
    meta:
        author = "iShareStuff CTI Automated Detection Engine"
        date = "2026-09-24"
        description = "YARA Signature for "
    strings:
        $str = "Ngrok in Termux: Learn How to " ascii wide
    condition:
        any of them
}
tsecurity.de Cognitive Threat RAG
Fokus-Vektor:

Kognitive Analyse für identifizierte Bedrohung: Erhöhte Bedrohungslage im Bereich Ngrok in Termux: Learn How to Install an.... Basierend auf 368k Vektor-Korrelationen werden sofortige Isolationsmaßnahmen für betroffene Endpunkte empfohlen.

🛡️ Angriffsfläche & Exposure

Netzwerk/Remote-Zugriff ohne Vorauthentifizierung möglich.

Empfohlene Sofortmaßnahmen
  • 1. Perimeter-Inspektion: Relevante Portfreigaben und exponierte Endpunkte unverzüglich scannen.
  • 2. Patch-Applikation: Hersteller-Hotfix einspielen oder betroffene Daemons in isolierte DMZ-Segmente überführen.
  • 3. Telemetrie & EDR-Alerts: Prozessaufrufe und Child-Processes auf anomale Shell-Spawns überwachen.
🔗 Semantisch verwandte Zero-Days MariaDB 11.7 VEC
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Ngrok in Termux: Learn How to Install and Use it

Thematisch verwandte Begriffe: Ngrok, Termux, Learn, Install · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-97152 | Nanomsg versions 0.5-beta through 1.x before 1.2.3 has a remotely exploi…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel TTP ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick