diff --git a/cmd/sniproxy/config.defaults.yaml b/cmd/sniproxy/config.defaults.yaml index 5a5cbed..3f70ffc 100644 --- a/cmd/sniproxy/config.defaults.yaml +++ b/cmd/sniproxy/config.defaults.yaml @@ -27,18 +27,18 @@ general: # HTTP Port to listen on. Should remain 80 in most cases. use :80 to listen on both IPv4 and IPv6 bind_http: "0.0.0.0:80" # bind additional ports for HTTP. a list of portsor ranges separated by commas. example: "8080,8081-8083". follows the same listen address as bind_http - bind_http_additional: ["8080","8081-8083"] + bind_http_additional: # HTTPS Port to listen on. Should remain 443 in most cases bind_https: "0.0.0.0:443" # bind additional ports for HTTPS. a list of portsor ranges separated by commas. example: "8443,8444-8446". follows the same listen address as bind_https - bind_https_additional: ["8443","8444-8446"] + bind_https_additional: # Enable prometheus endpoint on IP:PORT. example: 127.0.0.1:8080. Always exposes /metrics and only supports HTTP bind_prometheus: # Interface used for outbound TLS connections. uses OS prefered one if empty interface: # Preferred ip version for outgoing connections. choises: ipv4 (or 4), ipv6 (or 6), ipv4only, ipv6only, any. empty (or 0) means any. # numeric values are kept for backward compatibility - prefered_version: + preferred_version: # Public IPv4 of the server, reply address of DNS A queries public_ipv4: # Public IPv6 of the server, reply address of DNS AAAA queries diff --git a/cmd/sniproxy/sniproxy b/cmd/sniproxy/sniproxy new file mode 100755 index 0000000..1713712 Binary files /dev/null and b/cmd/sniproxy/sniproxy differ