Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 429 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 429 Bytes

gtunnel

A stunnel-like util write by golang

work mode

  • listen plain, forward through plain
  • listen plain, forward through TLS
  • listen TLS, forward through plain
  • listen TLS, forward through TLS

usage

go get github.com/fangdingjun/gtunnel
cp $GOPATH/src/github.com/fangdingjun/config_example.yaml config.yaml
vim config.yaml
$GOPATH/bin/gtunnel -c config.yaml