Use natapp for front-end and back-end remote joint debugging

foreword

Recently, I started some original technology projects with a few friends in spare time, because they are all online communication and remote development, the front-end and back-end joint debugging is not in the same local area network. The simple solution adopted here: tunnel technology + intranet penetration, easy to deal with. record it

Not much to say, the tool I use here is: natapp. Some friends can skip it directly

First of all, go to the official website to register. After free
insert image description here
registration, the relevant laws and regulations here require you
insert image description here
to purchase a tunnel with your real name for free
insert image description here
and configure the port you map to your local port.
insert image description here

Make sure your local service is working properly,
insert image description here
download the client to the local,
find your corresponding version, and
insert image description here
create a new config.ini in the same directory as natapp.exeinsert image description here

#将本文件放置于natapp同级目录 程序将读取 [default] 段
#在命令行参数模式如 natapp -authtoken=xxx 等相同参数将会覆盖掉此配置
#命令行参数 -config= 可以指定任意config.ini文件
[default]
authtoken=3c70b75c62d3efb4                      #对应一条隧道的authtoken
clienttoken=                    #对应客户端的clienttoken,将会忽略authtoken,若无请留空,
log=stdout                        #log 日志文件,可指定本地文件, none=不做记录,stdout=直接屏幕输出 ,默认为none
loglevel=DEBUG                  #日志等级 DEBUG, INFO, WARNING, ERROR 默认为 DEBUG
http_proxy=                     #代理设置 如 http://10.123.10.10:3128 非代理上网用户请务必留空

Double-click natapp.exe to start

insert image description here
insert image description here
Well, it’s actually very simple, that is, when a friend asked me, I simply recorded it and sent it directly, so as not to have to communicate one sentence at a time.

Guess you like

Origin blog.csdn.net/qq_37432174/article/details/130363205