• 0 environment
  • 1 natapp
    • 1 Reference Address
    • 2 personal authentication (old users skipped)
    • 3 Tunnel Configuration
    • 4 Starting the Configuration
    • 1 config.ini
    • 2 Click Natapp. exe to run
  • 2 ngrok
    • 1 prepare
    • 2 ngrok configuration

0 environment

  • Operating system: Win10
  • Program port: 8080

1 natapp

1 Reference Address

website

The document

2 personal authentication (old users skipped)

  • New users register and log in
  • Buy free tunnel need individual attestation pay treasure attestation can be very convenient

3 Tunnel Configuration

Purchase tunnel can default port (can be modified later) purchase good into my tunnel can be seen

4 Starting the Configuration

Configure a config.ini in the same directory as natapp.exe

config.ini

1 config.ini

The value of the authtoken
# Place this file in the same directory as NatApp and the program will read the [default] segment

# The same parameters in command line argument mode such as natapp-authToken = XXX will override this configuration

The command line argument -config= can specify any config.ini file

[default]

authtoken= xxx   Authtoken for a tunnel

clienttoken=                    # ClientToken of corresponding client will be ignored, if there is no authToken, please leave blank.

log=none                        None = no record,stdout= direct screen output, default to None

loglevel=ERROR                  The default log level is DEBUG

http_proxy=                     The proxy Settings, such as http://10.123.10.10:3128, must be left blank for non-proxy users

Copy the code

2 Click Natapp. exe to run

2 ngrok

1 prepare

website

Download address

The document

2 ngrok configuration

Ngrok is too comfortable to copy authToken directly without authenticating personal information

  • 1 copy authtoken

  • 2 CMD –> CD go to ngrok.exe

    Ngrok AuthToken Paste your AuthToken

  • 3 Generate files by default

  • 4 Create ngrok.bat at the same level as ngrok.exe

ngrok http 8080

pause

Copy the code
The effect