In GOST HTTP2 has two modes: proxy mode and tunnel mode.
Proxy Mode
In proxy mode, HTTP2 is used as the protocol type and the transport type must be empty.
gost -L http2://:443
As a standard HTTP2 proxy service.
Proxy mode only supports the use of TLS encryption HTTP2 protocol, does not support plaintext HTTP2.
Tunnel Mode
In tunnel mode, HTTP2 is used as the transport type: h2
and h2c
.
gost -L socks5+h2://:443
or
gost -L http+h2c://:443
Tunnel mode supports encryption (h2) and plain-text (h2c) two modes.
Parameters
path
- (2.9+) Optional, specify the request URI.