Go to file
dingjun 398469ed4f update test case
.gitignore add License
LICENSE add License
README.md fix a typo
common.go first version
conf.go first version
conf_test.go update test case
config.sample.yaml add support to send proxy protocol to dst
go.mod update go.mod
go.sum update go.mod
handshake_messages.go first version
main.go Update main.go
main_test.go update test case
proto_test.go update test case
server.crt update test case
server.key update test case

README.md

Sniproxy

A SNI proxy implements by golang

it can forward the TLS request to different backend by different SNI name

Usage

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