Crates.io | doh-proxy-rs |
lib.rs | doh-proxy-rs |
version | 0.1.1 |
source | src |
created_at | 2019-02-15 06:17:53.652831 |
updated_at | 2019-02-15 06:56:52.525495 |
description | DNS over HTTP proxy |
homepage | https://github.com/balthild/doh-proxy-rs |
repository | https://github.com/balthild/doh-proxy-rs |
max_upload_size | |
id | 114909 |
size | 10,370 |
Proxy DNS over HTTPS requests
doh-proxy-rs --server \
--listen=0.0.0.0:443 \
--upstream=1.1.1.1:53 \
--identity=./server.pfx \
--password=foobar
The server requires a PKCS#12 identity. You can generate it from a key pair in PEM format:
openssl pkcs12 -export \
-out server.pfx \
-inkey key.pem \
-in cert.pem \
[-certfile chain.pem]
PEM certificate support depends on native-tls
(sfackler/rust-native-tls#27).