通过 http2 + tls 代理的 tcp

时间:2021-06-28 19:34:42
【文件属性】:
文件名称:通过 http2 + tls 代理的 tcp
文件大小:26KB
文件格式:ZIP
更新时间:2021-06-28 19:34:42
mtunnel 隧道通过 http2 + tls 代理的 tcp。用法1.获取证书,按照以下步骤。2.做你的配置客户端配置:{" local_addr" :" 127.0.0.1:8080" ," remote_addr" :" 127.0.0.1:8081" ," domain_name" :" mydomain.com" ," ca_certificate" :" ./tls_config/rootCA.crt" }服务器配置:{" local_addr" :" 127.0.0.1:8081" ," remote_addr" :" 127.0.0.1:8082" ," server_cert" :" ./tls_config/mydomain.com.crt" ," server_key" :" ./tls_config/mydomain.com.key" }3.启动客户端和服务器# start the server RUST_LOG=debug cargo run --bin mtunnel-server -- -c mtunnel-server.json# start the client R
【文件预览】:
mtunnel-main
----Cargo.toml(374B)
----mtunnel-client.json(159B)
----.github()
--------workflows()
----Cargo.lock(19KB)
----src()
--------args.rs(877B)
--------config.rs(937B)
--------connection.rs(5KB)
--------lib.rs(890B)
--------stream.rs(5KB)
--------bin()
----mtunnel-server.json(178B)
----LICENSE(1KB)
----README.md(1KB)
----.gitignore(159B)
----tls_config()
--------rootCA.key(3KB)
--------mydomain.com.csr(1KB)
--------openssl.cnf(744B)
--------mydomain.com.key(2KB)
--------README.md(3KB)
--------mydomain.com.crt(1KB)
--------rootCA.crt(2KB)

网友评论