refactor: rename check_url to tcp_check_url and restrict dns_upstream as udp://ip:port

This commit is contained in:
mzz2017
2023-02-08 16:07:23 +08:00
committed by mzz
parent a3d4a06dab
commit 551e79d9e5
6 changed files with 88 additions and 34 deletions

View File

@ -6,14 +6,14 @@ global {
log_level: info
# Node connectivity check.
check_url: 'https://connectivitycheck.gstatic.com/generate_204'
tcp_check_url: 'https://connectivitycheck.gstatic.com/generate_204'
check_interval: 30s
# Now only support UDP and format IP:Port. Empty value '' indicates as-is.
# Now only support udp://IP:Port. Empty value '' indicates as-is.
# Please make sure DNS traffic will go through and be forwarded by dae.
# The upstream DNS answer MUST NOT be polluted.
# The request to dns upstream follows routing defined below.
dns_upstream: '8.8.8.8:53'
dns_upstream: 'udp://8.8.8.8:53'
# The LAN interface to bind. Use it if you only want to proxy LAN instead of localhost.
# Multiple interfaces split by ",".