Skip to content

docs: 방화벽 · 프록시 점검 가이드 페이지 추가 - #18

Merged
Jeongwoo Choi (lanslote) merged 1 commit into
mainfrom
lanslote-firewall-guide-page
Aug 11, 2026
Merged

docs: 방화벽 · 프록시 점검 가이드 페이지 추가#18
Jeongwoo Choi (lanslote) merged 1 commit into
mainfrom
lanslote-firewall-guide-page

Conversation

@lanslote

Copy link
Copy Markdown
Collaborator

요약

설치 전에 점검·개방해야 할 방화벽/프록시 항목을 정리한 별도 페이지 docs/firewall.html 을 추가하고, 소개 사이트(docs/index.html)에서 링크했습니다.

소스 코드를 전수 조사해 앱이 실제로 호출하는 아웃바운드 엔드포인트만 수록했습니다.

페이지 내용

  • 필수 도메인login.microsoftonline.com, graph.microsoft.com, *.msftauth.net/*.msauth.net, login.live.com, *.blob.core.windows.net
  • 선택 도메인 — Purview eDiscovery(Blob SAS), Power Platform·Copilot Studio(admin.powerplatform.microsoft.com, licensing.powerplatform.microsoft.com, *.bap.microsoft.com, *.powerplatform.com, *.dynamics.com 등), GitHub 릴리스 다운로드
  • 로컬 — 관리자 동의 콜백용 127.0.0.1 임시 포트
  • 각 행에 포트와 요청 주체(Node 내부 HTTPS / 내장 Chromium 창 / OS 브라우저)를 표기
  • 복사용 허용 목록 버튼, PowerShell 연결 점검 스크립트 3종, 증상별 문제 해결 표(9건), 참고 링크

특히 강조한 두 가지 함정

  • 프록시 이중 스택 — 백그라운드 수집은 src/main/http.ts의 전역 fetch를 쓰므로 시스템 프록시·HTTP(S)_PROXY·PAC를 무시합니다. 반면 포털 로그인 창(Chromium)은 프록시를 따릅니다. 그래서 로그인은 되는데 수집만 조용히 실패하는 증상이 납니다. 해당 도메인을 프록시 바이패스에 넣거나 직접 443 아웃바운드를 허용해야 합니다.
  • TLS 검사 — Node는 Windows 인증서 저장소가 아니라 번들 루트 CA만 신뢰해서 unable to verify the first certificate가 발생합니다. 인증·Graph 도메인 검사 제외를 권장하고, 대안으로 NODE_EXTRA_CA_CERTS를 안내합니다.

docs/index.html 변경

상단 내비게이션, 다운로드 섹션 배너, 푸터 3곳에 링크를 추가했습니다(한/영 번역 포함). 기존 사이트의 data-i18n 방식과 cwt-lang localStorage 키를 그대로 사용해 두 페이지 간 언어 선택이 유지됩니다.

작업 중 발견한, 좁은 화면에서 헤더가 가로로 넘치던 기존 문제도 함께 고쳤습니다.

검증

로컬 정적 서버로 두 페이지를 데스크톱(1280px)·모바일(390px), 한국어·영어 전 조합에서 확인했습니다. 콘솔 에러 0건, 전체 표 렌더링 정상, 언어 토글·복사 버튼 정상 동작, 가로 스크롤 없음.

참고: 이 저장소의 Pages는 main/docs에서 발행되므로 머지 후 라이브 사이트에 반영됩니다.

Add docs/firewall.html, a standalone bilingual (KO/EN) guide listing every
outbound endpoint CopilotWatchTower contacts, so admins can pre-clear
firewall/proxy rules before installing.

- Required domains (Entra ID auth, Microsoft Graph, auth CDNs, blob storage)
  and optional ones (Purview eDiscovery, Power Platform/Copilot Studio,
  GitHub release download), each with port and requesting component
  (Node vs Chromium vs OS browser).
- Copy-to-clipboard allowlist block.
- Warns that the Node collection path uses global fetch and ignores system
  proxy/PAC settings while the embedded Chromium windows honour them, so
  interactive sign-in can succeed while background collection silently fails.
- Warns that TLS-inspection appliances break the Node path since it trusts
  only bundled root CAs; suggests bypass or NODE_EXTRA_CA_CERTS.
- Loopback note for the admin-consent callback, PowerShell connectivity test
  snippets, and a symptom/cause troubleshooting table.

Link it from index.html via the nav, a banner in the download section, and
the footer, and fix a pre-existing horizontal overflow of the header on
narrow viewports.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@lanslote
Jeongwoo Choi (lanslote) merged commit 8156d1e into main Aug 11, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant