You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Dingjun 07994fed98 rewrite
rewrite the all code for using yaml config
8 years ago
.gitignore rewrite 8 years ago
LICENSE add License file 9 years ago
README.md rewrite 8 years ago
conf_test.go rewrite 8 years ago
config.go rewrite 8 years ago
config_example.yaml rewrite 8 years ago
main.go rewrite 8 years ago

README.md

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