gexpose

command module
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 18, 2022 License: MIT Imports: 4 Imported by: 0

README

gexpose

An easy-to-use 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

docker image

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:9000
Run server
docker run  -d --privileged --restart=always --net=host --name gexpose-server \
netbyte/gexpose -server
Client visit

http: http://public-ip:8703
https: https://public-ip:8703
ssh: ssh root@public-ip -p 8703

License

The MIT License (MIT)

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
common

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL