From be4d337e2c2f8e22ad26cce9c8edd08b2cdf064c Mon Sep 17 00:00:00 2001 From: PharmQ Admin Date: Sat, 27 Sep 2025 10:36:55 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Update=20Windows=20PowerShell=20?= =?UTF-8?q?scripts=20to=20use=20live=20production=20server?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Change HeadscaleServer from https://head.0bin.in to http://head.pharmq.kr - Update PreAuthKey to match live production environment - Set --accept-dns=false to align with Linux script configuration - Update help text to reflect new default server address ๐Ÿค– Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- farmq-install-en.ps1 | 8 ++++---- farmq-install.ps1 | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) 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 " # ๊ฐ•์ œ ์žฌ๋“ฑ๋ก"