Answer: To allow or block specific hosts, use host rules on the Network tab: select Proxy and blocking, then Host rules, press a to add a rule, type a hostname, wildcard subdomain pattern, IP address, or CIDR block, and choose Allow or Deny. To route traffic through an HTTP proxy, select Proxy and blocking, then Remote proxy, and enter the proxy URL with optional Username and Password. Status: Confirmed Entry: tool/github-copilot/settings/cli-sandbox-network-settings Revision: 4 Digest: sha256:8d68f90eea748b98 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:23:30Z Last changed: 2026-11-18T12:55:34Z (Proxy URL scheme: — → HTTP or HTTPS URL) Last verified: 2026-11-20T13:01:28Z Next check: 2026-11-21T13:01:28Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Host rules menu path | Proxy and blocking | [1] | 2026-11-20 Add rule key | a | [1] | 2026-11-20 Rule types | hostnames, wildcard subdomain patterns, individual IPv4 or IPv6 addresses, or IP address ranges in Classless Inter-Domain Routing (CIDR) notation | [1] | 2026-11-20 Allow/Deny choice | Allow or Deny | [1] | 2026-11-20 Default rule action | Deny | [1] | 2026-11-20 Remote proxy menu path | Remote proxy | [1] | 2026-11-20 Proxy URL entry | proxy URL | [1] | 2026-11-20 Proxy URL scheme | HTTP or HTTPS URL | [1] | 2026-11-20 Sources: [1] GitHub. "Configuring local sandbox settings - GitHub Docs". https://docs.github.com/en/copilot/how-tos/cloud-and-local-sandboxes/configuring-local-sandbox-settings Role: primary. Accessed: 2026-11-20T13:01:28Z Quote: "On the Network tab, select Proxy and blocking and press Enter . Then select Host rules and press Enter ." (Supports: Host rules menu path) Quote: "Press a to add a rule." (Supports: Add rule key) Quote: "You can specify hostnames, wildcard subdomain patterns, individual IPv4 or IPv6 addresses, or IP address ranges in Classless Inter-Domain Routing (CIDR) notation." (Supports: Rule types) Quote: "Use the left and right arrow keys to choose Allow or Deny , then press Enter to add the rule to the list." (Supports: Allow/Deny choice) Quote: "New rules default to Deny ." (Supports: Default rule action) Quote: "On the Network tab, select Proxy and blocking and press Enter . Then select Remote proxy and press Enter ." (Supports: Remote proxy menu path) Quote: "Enter the proxy URL , and optionally a Username and Password ." (Supports: Proxy URL entry) Quote: "Use an HTTP or HTTPS URL without embedded credentials." (Supports: Proxy URL scheme) Snapshot SHA-256: 2b0411bf252ca93eb7f8047086eb10d63d8e4d0677fed1979924ffdc940c5303 (captured 2026-11-18T12:55:31Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-18T12:55:34Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:01:28Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:01:28Z Last attempt: 2026-11-20T13:01:28Z Notes and limitations: Extracted automatically from a single official source (section "Configuring network settings"). Related: https://latestn.com/tool/github-copilot/settings/community-custom-instructions-examples Where can I find community-contributed examples of GitHub Copilot custom instructions for specific languages? https://latestn.com/tool/github-copilot/settings/configure-client-info How do I configure client info in the GitHub Copilot SDK? https://latestn.com/tool/github-copilot/settings/configure-cloud-agent-plugins How do I configure plugins for GitHub Copilot in the cloud? https://latestn.com/tool/github-copilot/settings/choose-review-effort-level How do I choose the review effort level for GitHub Copilot code review? https://latestn.com/tool/github-copilot/settings/cli-config-directory Where is the GitHub Copilot CLI configuration directory located? https://latestn.com/tool/github-copilot/settings/cli-hooks How do I configure hooks in GitHub Copilot CLI? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-18T12:55:34Z | changed | Proxy URL scheme: — → HTTP or HTTPS URL | [1] 2026-11-18T12:55:34Z | changed | Remote proxy menu path: — → Remote proxy | [1] 2026-11-18T12:55:34Z | changed | Rule types: — → hostnames, wildcard subdomain patterns, individual IPv4 or IPv6 addresses, or IP address ranges in Classless Inter-Domain Routing (CIDR) notation | [1] 2026-11-18T12:55:34Z | changed | Host rules menu path: — → Proxy and blocking | [1] 2026-11-18T12:55:34Z | changed | Settings keys: sandbox.userPolicy.network.allowedHosts and sandbox.userPolicy.network.blockedHosts → — | [1] 2026-11-18T12:55:34Z | changed | Remote proxy location: Remote proxy → — | [1] 2026-11-18T12:55:34Z | changed | Host rules location: Proxy and blocking → — | [1] 2026-11-16T12:44:52Z | changed | Settings keys: — → sandbox.userPolicy.network.allowedHosts and sandbox.userPolicy.network.blockedHosts | [1] 2026-11-16T12:44:52Z | changed | Proxy URL entry: — → proxy URL | [1] 2026-11-16T12:44:52Z | changed | Remote proxy location: — → Remote proxy | [1] 2026-11-16T12:44:52Z | changed | Default rule action: — → Deny | [1] 2026-11-16T12:44:52Z | changed | Allow/Deny choice: — → Allow or Deny | [1] 2026-11-16T12:44:52Z | changed | Add rule key: — → a | [1] 2026-11-16T12:44:52Z | changed | Host rules location: — → Proxy and blocking | [1] 2026-11-16T12:44:52Z | changed | settings keys: sandbox.userPolicy.network.allowedHosts and sandbox.userPolicy.network.blockedHosts → — | [1] 2026-11-16T12:44:52Z | changed | proxy URL field: proxy URL → — | [1] 2026-11-16T12:44:52Z | changed | remote proxy path: Remote proxy → — | [1] 2026-11-16T12:44:52Z | changed | default rule action: Deny → — | [1] 2026-11-16T12:44:52Z | changed | allow/deny choice: Allow or Deny → — | [1] 2026-11-16T12:44:52Z | changed | add rule key: a → — | [1] 2026-11-16T12:44:52Z | changed | host rules path: Proxy and blocking → — | [1] 2026-11-13T12:49:14Z | changed | settings keys: — → sandbox.userPolicy.network.allowedHosts and sandbox.userPolicy.network.blockedHosts | [1] 2026-11-13T12:49:14Z | changed | proxy URL field: — → proxy URL | [1] 2026-11-13T12:49:14Z | changed | remote proxy path: — → Remote proxy | [1] 2026-11-13T12:49:14Z | changed | default rule action: — → Deny | [1] 2026-11-13T12:49:14Z | changed | allow/deny choice: — → Allow or Deny | [1] 2026-11-13T12:49:14Z | changed | add rule key: — → a | [1] 2026-11-13T12:49:14Z | changed | host rules path: — → Proxy and blocking | [1] 2026-11-13T12:49:14Z | changed | Proxy active condition: Allow outbound connections → — | [1] 2026-11-13T12:49:14Z | changed | Proxy URL requirement: HTTP or HTTPS URL without embedded credentials → — | [1] 2026-11-13T12:49:14Z | changed | Remote proxy menu path: Remote proxy → — | [1] 2026-11-13T12:49:14Z | changed | Default rule action: Deny → — | [1] 2026-11-13T12:49:14Z | changed | Rule types: hostnames, wildcard subdomain patterns, or individual IPv4 or IPv6 addresses → — | [1] 2026-11-13T12:49:14Z | changed | Host rules menu path: Proxy and blocking → — | [1] 2026-11-13T03:23:30Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/settings/cli-sandbox-network-settings/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/github-copilot/settings/cli-sandbox-network-settings POST: https://latestn.com/dispute/tool/github-copilot/settings/cli-sandbox-network-settings with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/settings/cli-sandbox-network-settings?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I allow or block specific hosts and route traffic through an HTTP proxy in the GitHub Copilot CLI sandbox? Revision 4, last verified 2026-11-20T13:01:28Z. https://latestn.com/tool/github-copilot/settings/cli-sandbox-network-settings (accessed 2026-11-21T09:52:35Z). @misc{LatestN_tool_github_copilot_settings_cli_sandbox_network_settings_r4, title = {How do I allow or block specific hosts and route traffic through an HTTP proxy in the GitHub Copilot CLI sandbox?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/settings/cli-sandbox-network-settings}}, note = {Revision 4; digest sha256:8d68f90eea748b98; last verified 2026-11-20T13:01:28Z; accessed 2026-11-21T09:52:35Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/github-copilot/settings/cli-sandbox-network-settings