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 the all code for using yaml config |
8 years ago | |
---|---|---|
.gitignore | 8 years ago | |
LICENSE | 9 years ago | |
README.md | 8 years ago | |
conf_test.go | 8 years ago | |
config.go | 8 years ago | |
config_example.yaml | 8 years ago | |
main.go | 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