wol-gate: Tailscale 대역(100.64.0.0/10)을 사설망처럼 허용

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
kimandClaude Sonnet 5.5 committed 2026-10-15 13:10:28 +09:00
1 parent dc54cabc4a
commit 7e8a113157
1 file changed
+2 -1
+2 -1
View File
@@ -95,7 +95,8 @@ function inSortedRanges(value, ranges) {
return false;
}
const PRIVATE_V4_RANGES = ['10.0.0.0/8', '172.16.0.0/12', '192.168.0.0/16', '127.0.0.0/8']
// 100.64.0.0/10 = Tailscale(CGNAT 대역) — tailnet 안의 기기는 사설망처럼 취급
const PRIVATE_V4_RANGES = ['10.0.0.0/8', '172.16.0.0/12', '192.168.0.0/16', '127.0.0.0/8', '100.64.0.0/10']
.map(cidrToRangeV4)
.sort((a, b) => a[0] - b[0]);
// 요주의 대역(IDC 스캐너 등)은 국내 IP여도 깨우지 않는다. deny-cidrs.json + 환경변수 DENY_CIDRS.