Skip to content

Commit

Permalink
fixed default config and ipv6 dual stack
Browse files Browse the repository at this point in the history
  • Loading branch information
mosajjal committed Sep 7, 2024
1 parent 366871e commit 66ab46a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/sniproxy/config.defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Binary file added cmd/sniproxy/sniproxy
Binary file not shown.

0 comments on commit 66ab46a

Please sign in to comment.