Skip to content

Instantly share code, notes, and snippets.

@abhishekpatel946
Last active January 29, 2023 06:58
Show Gist options
  • Save abhishekpatel946/cdd80fdc3705772dd383be86ca5ce2a6 to your computer and use it in GitHub Desktop.
Save abhishekpatel946/cdd80fdc3705772dd383be86ca5ce2a6 to your computer and use it in GitHub Desktop.
######## Documenation for Ngrok Server Conf & Maintence ########
# start the local server at http 80 - just for the http tunneling
./ngrok http 80
# start the file server - for sharing any type of file over internet
./ngrok file:///root/<source path>
## start the server using authentication
./ngrok http -auth="username:password" 80
***********Recommended***********
### start in my way safe & secure tunnel with Https Ssl or auth-token
1. for just http to see the file or hosted file if exists
>>> ./ngrok http -auth="username:password" 80
2. for just file to share & read the files from server
>>> ./ngrok -auth="username:password" file:///root/<source-folder>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment