1

What is intranet penetration?

The internal network is the internal network of your computer's local ip. Others cannot access it remotely. You can only access it in a range. The external network is the exposed ip address, which can be easily accessed by others. If you develop a website on your computer and set up a server as http://127.0.0.1:80, you can easily access it on your computer, but others cannot access it. At this time, you can upload the web page to the server, and then By resolving the domain name and binding the domain name, it can be accessed by others.

But if you are still developing and want to share with others to experience and improve while developing, and you want to make your local website accessible to others, then you need intranet penetration so that others can easily access your computer’s local website , Which is equivalent to your computer becoming an online server.

ngrok achieves intranet penetration

1. Enter ngrok official website ngrok.com download ngrok.exe

image.png

2. Register an account, log in to the account to enter the management background, and obtain the Token, which is Your Authtoken on the left
3. Open your windows cmd command line tool
4. cd to the directory where ngrok.exe is located, and then execute the following command

ngrok authtoken 你的Token

5. Then you can open the intranet penetration service, enter the following command

ngrok http 80

image.png

In this case, you can map port 80 of your intranet to the following two domain names

http://f0e296d1f0df.ngrok.io
https://f0e296d1f0df.ngrok.io

Author:TANKING
WeChat:face6009


TANKING
4.8k 声望509 粉丝

热爱分享,热爱创作,热爱研究。