Coder Social home page Coder Social logo

gonat's Introduction

Gonat

Port Mapping

What done

proxy the port to other network

Supports protocol

TCP

Download

https://github.com/soyum2222/gonat/releases

How to use

Server

./gonat_server -c config.json

Client

./gonat_client -c config

Start parameters

You can try run ./gonat help get start param help

About config.json

Server

{
  "port": 1024, // gonat server use this port listen to gonat client
  "debug": true, // if this is ture , then log will be print more info
  "crypt": "aes-128-cbc", 
  "crypt_key": "gonat" // password in gonat server to gonat client communication
}

Client

{
"remote_ip":"192.168.0.2:1024",  // gonat server
"server_ip":"127.0.0.1:8080",  // you wnat porxy server addr ,such as your want proxy MYSQL , here fill in 127.0.0.1:3306
"remote_port":8081,             // your want on the gonat server listen port for your `server`
"crypt": "aes-128-cbc",       
"crypt_key": "gonat"  
}

this config map IP 127.0.0.1:8080 to IP 192.168.0.2:8081


̶I̶f̶ ̶y̶o̶u̶r̶ ̶u̶s̶e̶ ̶g̶o̶n̶a̶t̶ ̶c̶l̶i̶e̶n̶t̶ ̶i̶n̶ ̶w̶i̶n̶d̶o̶w̶s̶ ̶d̶e̶s̶k̶t̶o̶p̶,̶ ̶r̶e̶c̶o̶m̶m̶e̶n̶d̶ ̶y̶o̶u̶ ̶u̶s̶e̶ ̶h̶t̶t̶p̶s̶:̶/̶/̶g̶i̶t̶h̶u̶b̶.̶c̶o̶m̶/̶s̶o̶y̶u̶m̶2̶2̶2̶2̶/̶g̶o̶n̶a̶t̶_̶c̶l̶i̶e̶n̶t̶_̶g̶u̶i̶

Now the gonat client GUI has been migrated to this project

gonat's People

Contributors

soyum2222 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

gonat's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.