Skip to content

fettliu/nagent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

                 ``                              
                 `.`.`                           
                  .yys                           
                   -:-``      ./:                
       .`.:  `      /++/.  ..``.`                
       ` -/`-//     ://:` -///`                  
            `-.`-::` -/++/---.                   
               `-::.o*******+ .::.`+/             
                   .(nagent) `://: -.             
           ``  -::` +*******  ``                 
           `.  os` -/:` `-///:-os+                   
           `  ``       :/:`  `+o/`                  
                      ...`       .`                 
                      ``                      

nagent

nat agent like frp for through your nat.
Source code writed by Javascript, run at Nodejs.
[中文说明书]

deployment

install nodejs if you havn't that.

run as server

windows/linux:

node nagent.js -s

linux:

./nagent.js -s

watch state:

watch cat nagent-state

run as client

windows/linux:
node nagent.js -p 90 -P 80
linux:
./nagent.js -p 90 -P 80

config

Save follow content to nagent.config in directory of nagent.js.
local_port=[your local service port]
server_port=5670// server default port
server_host='[your server host]'
remote_port=[you need internat port by server]
keep_conn_count=10// keep max connection count at one time.

About

nat agent like frp for through your nat.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published