From a4e8f793f2e6a03af49c76aee52055f3f69f9aa7 Mon Sep 17 00:00:00 2001 From: okxlin <61420215+okxlin@users.noreply.github.com> Date: Sun, 4 Feb 2024 10:36:50 +0800 Subject: [PATCH] Update config.yaml --- apps/headscale/0.23.0-alpha2/data/config/config.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/headscale/0.23.0-alpha2/data/config/config.yaml b/apps/headscale/0.23.0-alpha2/data/config/config.yaml index bf84cfc0c..48110d337 100644 --- a/apps/headscale/0.23.0-alpha2/data/config/config.yaml +++ b/apps/headscale/0.23.0-alpha2/data/config/config.yaml @@ -10,7 +10,7 @@ # # https://myheadscale.example.com:443 # -server_url: https://myheadscale.example.com:443 +server_url: https://myheadscale.example.com:443 #提示:最终的服务器连接,改我 # Address to listen to / bind to on the server # @@ -107,8 +107,8 @@ derp: # paths: # - /etc/headscale/derp-example.yaml paths: [] - #paths: - # - /etc/headscale/derp.yaml + #paths: #提示:这个区域取消注释,则启用derp转发配置,然后要把上一行加#号注释掉 + # - /etc/headscale/derp.yaml #提示:这个区域取消注释,则启用derp转发配置 # If enabled, a worker will be set up to periodically # refresh the given sources and update the derpmap @@ -207,7 +207,7 @@ dns_config: override_local_dns: false # List of DNS servers to expose to clients. - nameservers: + nameservers: #提示:这里是DNS相关,自己考虑要不要改 - 223.5.5.5 - 1.1.1.1 @@ -255,7 +255,7 @@ dns_config: # `base_domain` must be a FQDNs, without the trailing dot. # The FQDN of the hosts will be # `hostname.user.base_domain` (e.g., _myhost.myuser.example.com_). - base_domain: example.com + base_domain: example.com #提示:tailscale局域网的自定义域名,随便设置 # Unix socket used for the CLI to connect without authentication # Note: for production you will want to set this to something like: @@ -325,4 +325,4 @@ logtail: # Enabling this option makes devices prefer a random port for WireGuard traffic over the # default static port 41641. This option is intended as a workaround for some buggy # firewall devices. See https://tailscale.com/kb/1181/firewalls/ for more information. -randomize_client_port: true \ No newline at end of file +randomize_client_port: true