jaciyu / net-agent

隧道代理工具

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Net Agent

Framework

Install and Run

go get github.com/GZShi/net-agent/exec
cd GOPATH/src/github.com/GZShi/net-agent/exec
go build -o ../dist/netagent
cd ../dist
./netagent -config "./config.json"

config example

// client mode
{
  "mode": "client",
  "addr": "localhost:1080",
  "privateKey": "secretsecret",
  "clientName": "localuser",
  "channelName": "remotework"
}

// server mode
{
  "mode": "server",
  "addr": "0.0.0.0:1080",
  "privateKey": "secretsecret"
}

About

隧道代理工具


Languages

Language:Go 49.0%Language:Vue 29.3%Language:JavaScript 21.2%Language:CSS 0.3%Language:HTML 0.2%Language:Batchfile 0.0%