add sni protocol keyword
This commit is contained in:
parent
71c2ca98eb
commit
0ebce7e731
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user