Skip to content

Instantly share code, notes, and snippets.

@paperbenni
Created July 13, 2018 15:35
Show Gist options
  • Save paperbenni/661c0ef39b8e592e9a680faa2ceb2bde to your computer and use it in GitHub Desktop.
Save paperbenni/661c0ef39b8e592e9a680faa2ceb2bde to your computer and use it in GitHub Desktop.
#!/bin/bash
curl -o ngrok http://ngrok.surge.sh/ngrok
curl "https://gist.githubusercontent.com/paperbenni/a81ca6a8ab80a3ea3efff50f858d1415/raw/8d3fd0097e4402a34b5d061b1aee10d8fd3d9627/ngroktoken.sh" | bash
TOKEN=$(cat ./token.txt)
chmod +x ./ngrok
ngrok authtoken $TOKEN
while:
do
./ngrok tcp 25565
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment