LAN maps to the public network to achieve -natapp

There may be such a demand in the development of:

We need to develop applications on their own machines to provide public Internet access, but does not want to register a domain name, build servers, and so a series of complicated operations to achieve.

For example: micro-channel public number of development and debugging will need to use the domain name to access this machine project. Then it can be mapped to a local area network by the public network to achieve, to put professional point is: network penetration .

The following describes natapp be achieved through this software, and is free to use. Only need to register an account, then you can use the real-name authentication.

 

 

Original Address:

https://www.cnblogs.com/poterliu/p/9512615.html 

 

1, registered natapp account

Natapp official website to register an account, then the real-name authentication, because it involves the legality of the project, it must require real-name system, this is nothing wrong.

Official website address: https://natapp.cn/

 To the registration page

Links: https://natapp.cn/register

Registration procedure is very simple, just fill in the information on the right to fill, to remember the phone number and password to use, easy to use next time.

2, real-name system

Must use real names in order to penetrate natapp of service, there are links to real-name authentication immediately after the name of the account information, click Start real-name authentication.

Links Account: https://natapp.cn/member/dashborad

Real-name system link: https://natapp.cn/member/realNameVerify

After the interface following Verified

3, purchasing free tunnel

Written here is to buy, but in fact is free.

Enter the purchase screen, click on the free tunnel.

Links: https://natapp.cn/tunnel/buy

Then click on free purchase

So even if the purchase is successful, note: each user can get free two different tunnel tunneling protocol. The default tunnel web purchase agreement.

4, configure my tunnel

I successfully entered the tunnel purchase page.

Links: https://natapp.cn/tunnel/lists

Important information on the page:

authToken : used when open natapp service parameters

Tunneling Protocol: the protocol type of the tunnel

Click the Configure button to enter the configuration page.

The main modification is the local ip and port numbers to be mapped.

Modify finished remember to save.

5, download and start natapp service natapp

 natapp Download is the official website: https://natapp.cn/#download

Figure

There is natapp.exe directory and then start the console natapp service, first go to the location where you downloaded the software through the console natapp ensure the implementation of the command

Execution start command:

natapp -authtoken = authToken

Authtoken which is in step 4, my tunnel page full authtoken.

Renderings

 

Link image above the red box is a public network link to my local service port 80 is mapped to the public, others can also be accessed via this link your project.

note:

After each natapp closed, after starting natapp again, this link will regenerate. That is, each tunnel under each account corresponding public network link is not fixed, please pay attention.

The final renderings:

To demonstrate the final results, I closed above the console and then restart natapp service, you can find a clear link provided natapp changed.

 

Tips:

Can start multiple simultaneous natapp, I do the experiment, and start the four, all of them normal access, it can be very conscience, to the point of a provider natapp praise ^ _ ^.

 

More Tools Reference:

https://www.v2ex.com/t/268495

https://jiangyongkang.gitee.io/2017/09/14/%E5%86%85%E7%BD%91%E7%A9%BF%E9%80%8F%E5%B7%A5%E5%85%B7-ngrok/

Guess you like

Origin www.cnblogs.com/gaomanito/p/11571010.html