Commit 0ebce7e7 authored by rui.zheng's avatar rui.zheng

add sni protocol keyword

parent 71c2ca98
......@@ -191,7 +191,7 @@ func initChain() (*gost.Chain, error) {
connector = gost.SSHDirectForwardConnector()
case "remote":
connector = gost.SSHRemoteForwardConnector()
case "forward":
case "forward", "sni": // sni is an alias of forward
connector = gost.ForwardConnector()
case "http":
fallthrough
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment