/gexpose

A net tool for exposing local service to public.

Primary LanguageGoMIT LicenseMIT

gexpose

A net tool for exposing local service to public.

Travis Go Report Card image image

Architecture

gexpose

Usage

Usage of ./gexpose:
  -server
        server mode
  -k string
        encryption key (default "Xn2r4u7x!A%D*G8")
  -l string
        local address (default ":9000")
  -s string
        server address (default ":8701")
  -p string
        proxy address (default ":8702")
  -e string
        expose address (default ":8703")
  -t int
        dial timeout in seconds (default 30)

Build

sh scripts/build.sh

Docker

Run client

docker run  -d --privileged --restart=always --net=host --name gexpose-client netbyte/gexpose -s server-addr:8701 -p server-addr:8702 -l 127.0.0.1:8080

Run server

docker run  -d --privileged --restart=always --net=host --name gexpose-server netbyte/gexpose -server

License

The MIT License (MIT)