Free intranet penetration tool recommended

Time:2022-5-24

During the development and docking process of wechat official account / nailing application / youzan application and other three-party platforms, it is often necessary to fill in an interface service address of the public network to receive the push of events related to these three-party platforms. At this time, when the developer has not prepared the public network server, debugging is a trouble ~, so is there any tool to call back the notification events of the three-party platform to the developer’s local machine?
Now let’s share the intranet penetration service built by Xiapin for developers, which can map local services to the public network to facilitate your daily development and debugging~

Reference nail documentation:https://developers.dingtalk.com/document/resourcedownload/http-intranet-penetration/title-q1v-0y4-ftf?pnamespace=app

Mode of use

Introduction of using based on Windows
1. Visithttps://github.com/open-dingtalk/piercedTo download intranet penetration tool

Free intranet penetration tool recommended

2. Unzip to any location to get the execution file

Free intranet penetration tool recommended

3. For the convenience of subsequent startup, write a batch startup script, edit the following code and store it asstartup.bat

@echo off
REM specifies the public access subdomain you want to set through the subdomain parameter 
REM 9100 is the local web service listening port number, which can be replaced by your local corresponding listening port number according to the actual situation
ding -config=ding.cfg -subdomain=your-domain 9100

4. Start the local web service and listen on the previously configured port
Here I take the springboot project as an example, PHP / Python / Net and other web services
Example project:https://github.com/netbuffer/spring-boot-demo

Free intranet penetration tool recommended

Operation effect

Now double-click startup Bat to start the intranet penetration service

Free intranet penetration tool recommended

You can see the public network access address:
http://your-domain.vaiwan.com
https://your-domain.vaiwan.com
At this point, you can accesshttp://your-domain.vaiwan.comTo map tohttp://localhost:9100

Free intranet penetration tool recommended

Free intranet penetration tool recommended

So far, the purpose of exposing our local web services to the public network has been realized

It should be noted that this tool is only applicable to the development and testing stage and does not guarantee stability! After development and debugging, web services should be deployed to the formal environment in time