주요 콘텐츠로 건너뛰기

Windows에서 프록시 및 제외 항목 구성

이 가이드는 IP 기반 프록시 정의WebSocket 앱 호환성에 중점을 두고 Windows에서 프록시 설정과 우회 제외를 구성하는 방법을 설명합니다.

WebSocket에 의존하는 일반적인 앱:

  • Slack
  • Figma
  • Lucidchart

These can fail when routed through proxies like Squid, which do not supportwss://connections.


이 스크립트가 수행하는 작업

  • PowerShell을 통해 시스템 전체 프록시 IP 주소를 설정합니다
  • 사용자 앱 (WinINET)시스템 서비스 (WinHTTP)에 대한 제외를 적용합니다
  • WebSocket 기반 앱 및 Microsoft 서비스에 대해 프록시 라우팅을 방지합니다
  • Intune, GPO 또는 수동 스크립트 실행을 통한 배포를 지원합니다

수동 구성 단계

  1. Control Panel을 실행한 다음 Internet Options를 엽니다.
  2. Connections 탭 → LAN Settings로 이동합니다.
  3. Use a proxy server를 활성화합니다.
  4. Set:
    • 주소 = 192.168.1.10
    • 포트 = 8080
  5. Advanced를 클릭한 다음 아래 도메인을 Exceptions 목록에 추가합니다.
  6. 적용하고 저장합니다.

스크립트 방식 (PowerShell)

# Define proxy IP and port
$proxyIP = "http://192.168.1.10:8080"

# Define proxy bypass list
$bypassList = "localhost;127.0.0.1;*.microsoftonline.com;*.core.windows.net;*.slack.com;*.figma.com;*.lucidchart.com;*.lucid.app;*.github.com;copilot-proxy.githubusercontent.com"

# Apply proxy for system services
netsh winhttp set proxy $proxyIP ";$bypassList"

# Apply proxy for user apps
$regPath = "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings"
Set-ItemProperty -Path $regPath -Name ProxyEnable -Value 1
Set-ItemProperty -Path $regPath -Name ProxyServer -Value $proxyIP
Set-ItemProperty -Path $regPath -Name ProxyOverride -Value $bypassList