diff --git a/farmq-install-en.ps1 b/farmq-install-en.ps1 index 9f81122..997a45c 100644 --- a/farmq-install-en.ps1 +++ b/farmq-install-en.ps1 @@ -4,8 +4,8 @@ param( [switch]$Force, - [string]$HeadscaleServer = "https://head.0bin.in", - [string]$PreAuthKey = "8b3df41d37cb158ea39f41fc32c9af46e761de817ad06038", + [string]$HeadscaleServer = "http://head.pharmq.kr", + [string]$PreAuthKey = "b46923995afeaec90e588168f2e1bf99801775e8657ce003", [string]$FarmqNetwork = "100.64.0.0/10" ) @@ -258,7 +258,7 @@ function Register-Headscale { "--login-server=$HeadscaleServer", "--authkey=$PreAuthKey", "--accept-routes", - "--accept-dns=true" + "--accept-dns=false" ) & $tailscalePath $arguments @@ -476,7 +476,7 @@ if ($args -contains "--help" -or $args -contains "-h") { Write-Host "" Write-Host "Options:" Write-Host " -Force Force disconnect existing connection and re-register" - Write-Host " -HeadscaleServer Server address (default: https://head.0bin.in)" + Write-Host " -HeadscaleServer Server address (default: http://head.pharmq.kr)" Write-Host "" Write-Host "Examples:" Write-Host " # Force re-registration" diff --git a/farmq-install.ps1 b/farmq-install.ps1 index cb3523a..beeaca4 100644 --- a/farmq-install.ps1 +++ b/farmq-install.ps1 @@ -8,8 +8,8 @@ $OutputEncoding = [Console]::OutputEncoding = [Text.UTF8Encoding]::UTF8 param( [switch]$Force, - [string]$HeadscaleServer = "https://head.0bin.in", - [string]$PreAuthKey = "8b3df41d37cb158ea39f41fc32c9af46e761de817ad06038", + [string]$HeadscaleServer = "http://head.pharmq.kr", + [string]$PreAuthKey = "b46923995afeaec90e588168f2e1bf99801775e8657ce003", [string]$FarmqNetwork = "100.64.0.0/10" ) @@ -264,7 +264,7 @@ function Register-Headscale { "--login-server=$HeadscaleServer", "--authkey=$PreAuthKey", "--accept-routes", - "--accept-dns=true" + "--accept-dns=false" ) & $tailscalePath $arguments @@ -482,7 +482,7 @@ if ($args -contains "--help" -or $args -contains "-h") { Write-Host "" Write-Host "옵션:" Write-Host " -Force 기존 연결을 강제로 해제하고 재등록" - Write-Host " -HeadscaleServer 서버 주소 (기본값: https://head.0bin.in)" + Write-Host " -HeadscaleServer 서버 주소 (기본값: http://head.pharmq.kr)" Write-Host "" Write-Host "예시:" Write-Host " # 강제 재등록"