Configure Cline to work behind firewalls and proxies
If you’re working behind a corporate proxy or firewall, you’ll need to configure
proxy settings for Cline to connect to AI providers. The configuration varies
depending on which version of Cline you’re using.
To avoid setting these variables every time, add them to your shell profile or system environment variables.macOS/Linux (add to ~/.bashrc, ~/.zshrc, or ~/.profile):
Search for “Environment Variables” in Windows Settings
Add the variables under “User variables” or “System variables”
Restart your terminal or IDE
Known Limitations
Cline CLI only supports HTTP proxies. It does not support SOCKS proxies,
proxy autoconfiguration (PAC) scripts, or HTTP proxies which require
authentication beyond a basic username and password.
JetBrains IDEs
The JetBrains plugin uses the IDE’s HTTP proxy settings.
Configure JetBrains Proxy
Open Settings/Preferences:
Windows/Linux: File > Settings
macOS: IntelliJ IDEA > Preferences
Or press Ctrl+Alt+S (Windows/Linux) or Cmd+, (macOS)
Navigate to:
Appearance & Behavior > System Settings > HTTP Proxy
Select “Manual proxy configuration”
Configure your proxy:
Host name: proxy.company.com
Port number: 8080
No proxy for: localhost,127.0.0.1
Check “Proxy authentication” if required
Enter your username and password
Click “Check connection” to verify the settings
Click “OK” to apply
Restart the IDE
Test Connection
After configuring the proxy, test that Cline can connect to your AI provider:
Open the Cline panel
Try sending a simple message
If connection fails, check the IDE’s Event Log for error messages
Custom Certificate Authority
If your proxy uses a custom CA:
Add the certificate to your system’s trust store, or
Import it into the JetBrains IDE:
Settings > Tools > Server Certificates
Click ”+” to add your certificate
Known Limitations
Cline in JetBrains only supports HTTP proxies. It does not support SOCKS
proxies, proxy autoconfiguration (PAC) scripts, or HTTP proxies which require
authentication beyond a basic username and password.Cline does not pick up changed proxy settings dynamically. After changing proxy
settings, restart the IDE for Cline to use the new settings.
Troubleshooting
Connection Timeouts
If you’re experiencing connection timeouts:
Verify your proxy address and port are correct
Check if the proxy requires authentication
Ensure the AI provider’s API endpoints aren’t blocked by your firewall
SSL/TLS Certificate Errors
If you see certificate-related errors:
Check that NODE_EXTRA_CA_CERTS points to the correct certificate file
Ensure the certificate file is in PEM format
Use curl to verify the certificate works, for example, curl -x proxy.corp.example:8080 --cacert /path/to/ca-cert.pem -o - -vv https://api.cline.bot/
Consider disabling http.proxyStrictSSL in VSCode (not recommended for production)
Testing Proxy Configuration
If you encounter problems with Cline networking, first verify your proxy
configuration works using curl:
# Linux/macOSexport https_proxy=http://proxy.company.com:8080curl -vv https://api.anthropic.com# Windows PowerShell$env:https_proxy="http://proxy.company.com:8080"curl.exe -vv https://api.anthropic.com
Use --cacert $NODE_EXTRA_CA_CERTS to specify a certificate if necessary.Next, check the logs for messages confirming your proxy configuration and any
network-related errors:
CLI: ~/.cline/data/logs/cline.log, or the file CLINE_LOG_PATH names.
cline doctor log opens it. If the hub is involved, also check
~/.cline/data/logs/hub-daemon.log.
JetBrains IDEs: ~/.cline/cline-core-service.log. Cline’s process for
every open project writes to this one file.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Cline","description":"AI-powered coding agent for complex work","colors":{"primary":"#9D4EDD","light":"#F0E6FF","dark":"#000000"},"logo":{"light":"https://mintcdn.com/cline-efdc8260/WPwumUzXy76eV4i3/assets/cline-wordmark-black.svg?fit=max\u0026auto=format\u0026n=WPwumUzXy76eV4i3\u0026q=85\u0026s=4e26f83486e0f2b4d0966979e031e353","dark":"https://mintcdn.com/cline-efdc8260/WPwumUzXy76eV4i3/assets/cline-wordmark-white.svg?fit=max\u0026auto=format\u0026n=WPwumUzXy76eV4i3\u0026q=85\u0026s=7daa40cdea7dc6d0641d0dca8cb38934","href":"https://cline.bot/"},"favicon":{"light":"https://mintcdn.com/cline-efdc8260/WPwumUzXy76eV4i3/assets/cline-icon-dark.svg?fit=max\u0026auto=format\u0026n=WPwumUzXy76eV4i3\u0026q=85\u0026s=9ef80fbc83ac2c8c95851ec5ff83846d","dark":"https://mintcdn.com/cline-efdc8260/WPwumUzXy76eV4i3/assets/cline-icon-white.svg?fit=max\u0026auto=format\u0026n=WPwumUzXy76eV4i3\u0026q=85\u0026s=c5f236802860501e10e7cca7fa7b7f8c"},"appearance":{"default":"system","strict":false},"background":{"color":{"light":"#fafaf9","dark":"#0f0f0f"}},"navbar":{"links":[{"icon":"github","href":"https://github.com/cline/cline","label":"GitHub"},{"icon":"discord","href":"https://discord.gg/cline","label":"Discord"}],"primary":{"type":"button","label":"Install Cline","href":"https://cline.bot/install?utm_source=website\u0026utm_medium=header"}},"footer":{"socials":{"x":"https://x.com/cline","github":"https://github.com/cline/cline","discord":"https://discord.gg/cline"}},"search":{"prompt":"Search Cline documentation..."},"fonts":{"family":"Geist Sans"},"styling":{"eyebrows":"breadcrumbs","codeblocks":"system","latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cline-efdc8260","hasAudioNarration":false,"actualSubdomain":"cline-efdc8260","customDomains":["docs.cline.bot"],"gitSource":{"type":"github","owner":"cline","repo":"cline","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af3a63e494561a7fb74ff67","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"Cline","count":60},{"language":"default","tag":"Enterprise","count":24},{"language":"default","tag":"Enterprise Solutions","count":24},{"language":"default","tag":"SDK","count":24},{"language":"default","tag":"Getting Started","count":22},{"language":"default","tag":"Usage","count":17},{"language":"default","tag":"Other Models \u0026 Providers","count":16},{"language":"default","tag":"Cloud Providers","count":14},{"language":"default","tag":"Remote Provider Configuration","count":11},{"language":"default","tag":"Concepts","count":10}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":"@import url(\"https://fonts.googleapis.com/css2?family=Geist+Sans:wght@300;400;500;600;700\u0026display=swap\");@import url(\"https://fonts.googleapis.com/css2?family=Geist+Mono:wght@300;400;500;600;700\u0026display=swap\");body,p,li,td,th,span:not(code *),div:not(code *):not(pre *){font-family:\"Geist Sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif!important}code,pre,.code,pre code,code *,pre *{font-family:\"Geist Mono\", \"Monaco\", \"Courier New\", monospace!important}h1{font-weight:600!important}h1,h2,h3,h4,h5,h6,img{opacity:1!important;font-family:\"Geist Sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif!important}.content h1,.markdown h1,article h1,main h1{font-weight:500!important}img[alt=\"JetBrains logo\"]{background-color:rgba(255, 255, 255, 0.9);border:1px solid rgba(0, 0, 0, 0.1);border-radius:8px;padding:12px;transition:all 0.3s ease}[data-theme=\"dark\"] img[alt=\"JetBrains logo\"],.dark img[alt=\"JetBrains logo\"]{background-color:rgba(255, 255, 255, 0.95);border:1px solid rgba(0, 0, 0, 0.2);box-shadow:0 2px 8px rgba(0, 0, 0, 0.1)}@media (prefers-color-scheme: dark){img[alt=\"JetBrains logo\"]{background-color:rgba(255, 255, 255, 0.95);border:1px solid rgba(0, 0, 0, 0.2);box-shadow:0 2px 8px rgba(0, 0, 0, 0.1)}}img[alt=\"JetBrains logo\"]:hover{transform:scale(1.02);box-shadow:0 4px 12px rgba(0, 0, 0, 0.15)}.steps{margin-top:5px!important}"}]}
{"page":{"pagePath":"troubleshooting/networking-and-proxies","slug":"/troubleshooting/networking-and-proxies","pageMetadata":{"title":"Networking and Proxies","sidebarTitle":"Networking \u0026 Proxies","description":"Configure Cline to work behind firewalls and proxies","href":"/troubleshooting/networking-and-proxies"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Configure Cline to work behind firewalls and proxies\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`If you’re working behind a corporate proxy or firewall, you’ll need to configure\nproxy settings for Cline to connect to AI providers. The configuration varies\ndepending on which version of Cline you’re using.`}),`\n`,_jsx(Heading,{level:`2`,id:`vscode-extension`,children:`VSCode Extension`}),`\n`,_jsxs(_components.p,{children:[`The VSCode extension automatically uses VSCode’s built-in proxy settings. See\n`,_jsx(_components.a,{href:`https://code.visualstudio.com/docs/setup/network#_proxy-server-support`,children:`Network Connections in Visual Studio Code, Proxy server support`}),`\nfor instructions on how to set up proxies in VSCode. No additional configuration\nis needed for Cline itself.`]}),`\n`,_jsx(Heading,{level:`2`,id:`cli`,children:`CLI`}),`\n`,_jsxs(_components.p,{children:[`The Cline CLI uses standard HTTP proxy environment variables. Configure these before running `,_jsx(_components.code,{children:`cline`}),` commands.`]}),`\n`,_jsx(Heading,{level:`3`,id:`basic-configuration`,children:`Basic Configuration`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Windows (Command Prompt)`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`vb`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`vb`,children:_jsxs(_components.code,{language:`vb`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`set `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`https_proxy`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`http`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`://proxy.company.com:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`8080`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`set `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`http_proxy`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`http`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`://proxy.company.com:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`8080`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`cline`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Windows (PowerShell)`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`powershell`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`powershell`,children:_jsxs(_components.code,{language:`powershell`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`env:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`https_proxy`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"http://proxy.company.com:8080\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`env:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`http_proxy`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"http://proxy.company.com:8080\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`cline`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`macOS/Linux`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` https_proxy`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`http`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`://`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`proxy`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`company`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`com`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`8080`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` http_proxy`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`http`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`://`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`proxy`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`company`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`com`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`8080`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cline`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`proxy-with-authentication`,children:`Proxy with Authentication`}),`\n`,_jsx(_components.p,{children:`If your proxy requires authentication, include credentials in the URL:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` https_proxy`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`http`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`://`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`username`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`password`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`@`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`proxy`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`company`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`com`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`8080`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` http_proxy`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`http`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`://`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`username`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`password`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`@`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`proxy`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`company`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`com`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`8080`})]}),`\n`]})})}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Storing credentials in environment variables can be a security risk.`})}),`\n`,_jsx(Heading,{level:`3`,id:`bypass-proxy-for-localhost`,children:`Bypass Proxy for Localhost`}),`\n`,_jsxs(_components.p,{children:[`To prevent localhost traffic from going through the proxy, set the `,_jsx(_components.code,{children:`no_proxy`}),` environment variable:`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Windows`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`vb`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`vb`,children:_jsxs(_components.code,{language:`vb`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`set `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`no_proxy`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`localhost`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`127.0.0.1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,.local`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`macOS/Linux`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` no_proxy`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`localhost`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`127`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`local`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`custom-certificate-authority`,children:`Custom Certificate Authority`}),`\n`,_jsx(_components.p,{children:`If your proxy uses a custom CA certificate:`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Windows`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`vb`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`vb`,children:_jsxs(_components.code,{language:`vb`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`set `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`NODE_EXTRA_CA_CERTS`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`C`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:\\\\`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`path`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\\\\`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`to`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\\\\`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`ca`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`-`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`certificate.crt`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`cline`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`macOS/Linux`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` NODE_EXTRA_CA_CERTS`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`/`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`path`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`/`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`to`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`/`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`ca-certificate`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`pem`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cline`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`permanent-configuration`,children:`Permanent Configuration`}),`\n`,_jsx(_components.p,{children:`To avoid setting these variables every time, add them to your shell profile or system environment variables.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`macOS/Linux`}),` (add to `,_jsx(_components.code,{children:`~/.bashrc`}),`, `,_jsx(_components.code,{children:`~/.zshrc`}),`, or `,_jsx(_components.code,{children:`~/.profile`}),`):`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Proxy configuration`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` https_proxy`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`http`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`://`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`proxy`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`company`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`com`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`8080`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` http_proxy`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`http`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`://`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`proxy`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`company`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`com`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`8080`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` no_proxy`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`localhost`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`127`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`local`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` NODE_EXTRA_CA_CERTS`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`/`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`path`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`/`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`to`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`/`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`ca-certificate`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`pem`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Windows`}),` (System Environment Variables):`]}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Search for “Environment Variables” in Windows Settings`}),`\n`,_jsx(_components.li,{children:`Add the variables under “User variables” or “System variables”`}),`\n`,_jsx(_components.li,{children:`Restart your terminal or IDE`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`known-limitations`,children:`Known Limitations`}),`\n`,_jsx(_components.p,{children:`Cline CLI only supports HTTP proxies. It does not support SOCKS proxies,\nproxy autoconfiguration (PAC) scripts, or HTTP proxies which require\nauthentication beyond a basic username and password.`}),`\n`,_jsx(Heading,{level:`2`,id:`jetbrains-ides`,children:`JetBrains IDEs`}),`\n`,_jsx(_components.p,{children:`The JetBrains plugin uses the IDE’s HTTP proxy settings.`}),`\n`,_jsx(Heading,{level:`3`,id:`configure-jetbrains-proxy`,children:`Configure JetBrains Proxy`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Open Settings/Preferences:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Windows/Linux`}),`: File > Settings`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`macOS`}),`: IntelliJ IDEA > Preferences`]}),`\n`,_jsxs(_components.li,{children:[`Or press `,_jsx(_components.code,{children:`Ctrl+Alt+S`}),` (Windows/Linux) or `,_jsx(_components.code,{children:`Cmd+,`}),` (macOS)`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Navigate to:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Appearance \u0026 Behavior > System Settings > HTTP Proxy`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Select “Manual proxy configuration”`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Configure your proxy:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Host name`}),`: `,_jsx(_components.code,{children:`proxy.company.com`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Port number`}),`: `,_jsx(_components.code,{children:`8080`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`No proxy for`}),`: `,_jsx(_components.code,{children:`localhost,127.0.0.1`})]}),`\n`,_jsx(_components.li,{children:`Check “Proxy authentication” if required`}),`\n`,_jsx(_components.li,{children:`Enter your username and password`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Click “Check connection” to verify the settings`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Click “OK” to apply`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Restart the IDE`}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`test-connection`,children:`Test Connection`}),`\n`,_jsx(_components.p,{children:`After configuring the proxy, test that Cline can connect to your AI provider:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Open the Cline panel`}),`\n`,_jsx(_components.li,{children:`Try sending a simple message`}),`\n`,_jsx(_components.li,{children:`If connection fails, check the IDE’s Event Log for error messages`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`custom-certificate-authority-2`,children:`Custom Certificate Authority`}),`\n`,_jsx(_components.p,{children:`If your proxy uses a custom CA:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Add the certificate to your system’s trust store, or`}),`\n`,_jsxs(_components.li,{children:[`Import it into the JetBrains IDE:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Settings > Tools > Server Certificates`}),`\n`,_jsx(_components.li,{children:`Click ”+” to add your certificate`}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`known-limitations-2`,children:`Known Limitations`}),`\n`,_jsx(_components.p,{children:`Cline in JetBrains only supports HTTP proxies. It does not support SOCKS\nproxies, proxy autoconfiguration (PAC) scripts, or HTTP proxies which require\nauthentication beyond a basic username and password.`}),`\n`,_jsx(_components.p,{children:`Cline does not pick up changed proxy settings dynamically. After changing proxy\nsettings, restart the IDE for Cline to use the new settings.`}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsx(Heading,{level:`3`,id:`connection-timeouts`,children:`Connection Timeouts`}),`\n`,_jsx(_components.p,{children:`If you’re experiencing connection timeouts:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Verify your proxy address and port are correct`}),`\n`,_jsx(_components.li,{children:`Check if the proxy requires authentication`}),`\n`,_jsx(_components.li,{children:`Ensure the AI provider’s API endpoints aren’t blocked by your firewall`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`ssl/tls-certificate-errors`,children:`SSL/TLS Certificate Errors`}),`\n`,_jsx(_components.p,{children:`If you see certificate-related errors:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Check that `,_jsx(_components.code,{children:`NODE_EXTRA_CA_CERTS`}),` points to the correct certificate file`]}),`\n`,_jsx(_components.li,{children:`Ensure the certificate file is in PEM format`}),`\n`,_jsxs(_components.li,{children:[`Use curl to verify the certificate works, for example, `,_jsx(_components.code,{children:`curl -x proxy.corp.example:8080 --cacert /path/to/ca-cert.pem -o - -vv https://api.cline.bot/`})]}),`\n`,_jsxs(_components.li,{children:[`Consider disabling `,_jsx(_components.code,{children:`http.proxyStrictSSL`}),` in VSCode (not recommended for production)`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`testing-proxy-configuration`,children:`Testing Proxy Configuration`}),`\n`,_jsx(_components.p,{children:`If you encounter problems with Cline networking, first verify your proxy\nconfiguration works using curl:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Linux/macOS`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` https_proxy`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`http`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`://`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`proxy`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`company`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`com`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`8080`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -vv`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.anthropic.com`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Windows PowerShell`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$env`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`https_proxy`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"http://proxy.company.com:8080\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl.exe`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -vv`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.anthropic.com`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`--cacert $NODE_EXTRA_CA_CERTS`}),` to specify a certificate if necessary.`]}),`\n`,_jsx(_components.p,{children:`Next, check the logs for messages confirming your proxy configuration and any\nnetwork-related errors:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`CLI`}),`: `,_jsx(_components.code,{children:`~/.cline/data/logs/cline.log`}),`, or the file `,_jsx(_components.code,{children:`CLINE_LOG_PATH`}),` names.\n`,_jsx(_components.code,{children:`cline doctor log`}),` opens it. If the hub is involved, also check\n`,_jsx(_components.code,{children:`~/.cline/data/logs/hub-daemon.log`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`JetBrains IDEs`}),`: `,_jsx(_components.code,{children:`~/.cline/cline-core-service.log`}),`. Cline’s process for\nevery open project writes to this one file.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`common-proxy-patterns`,children:`Common Proxy Patterns`}),`\n`,_jsx(Heading,{level:`3`,id:`authenticated-https-proxy`,children:`Authenticated HTTPS Proxy`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` https_proxy`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`http`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`://`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`username`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`password`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`@`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`proxy`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`company`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`com`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`8080`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` NODE_EXTRA_CA_CERTS`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`/`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`path`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`/`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`to`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`/`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`ca-cert`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`pem`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`proxy-with-no-authentication`,children:`Proxy with No Authentication`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` https_proxy`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`http`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`://`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`proxy`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`company`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`com`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`8080`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` http_proxy`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`http`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`://`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`proxy`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`company`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`com`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`8080`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`proxy-with-bypass-rules`,children:`Proxy with Bypass Rules`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` https_proxy`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`http`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`://`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`proxy`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`company`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`com`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`8080`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` no_proxy`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`localhost`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`127`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`company`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`local`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`192`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`168`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`/`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`16`})]}),`\n`]})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Networking and Proxies","sidebarTitle":"Networking \u0026 Proxies","description":"Configure Cline to work behind firewalls and proxies","href":"/troubleshooting/networking-and-proxies"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"VSCode Extension","slug":"vscode-extension","depth":2,"children":[]},{"title":"CLI","slug":"cli","depth":2,"children":[{"title":"Basic Configuration","slug":"basic-configuration","depth":3,"children":[]},{"title":"Proxy with Authentication","slug":"proxy-with-authentication","depth":3,"children":[]},{"title":"Bypass Proxy for Localhost","slug":"bypass-proxy-for-localhost","depth":3,"children":[]},{"title":"Custom Certificate Authority","slug":"custom-certificate-authority","depth":3,"children":[]},{"title":"Permanent Configuration","slug":"permanent-configuration","depth":3,"children":[]},{"title":"Known Limitations","slug":"known-limitations","depth":3,"children":[]}]},{"title":"JetBrains IDEs","slug":"jetbrains-ides","depth":2,"children":[{"title":"Configure JetBrains Proxy","slug":"configure-jetbrains-proxy","depth":3,"children":[]},{"title":"Test Connection","slug":"test-connection","depth":3,"children":[]},{"title":"Custom Certificate Authority","slug":"custom-certificate-authority-2","depth":3,"children":[]},{"title":"Known Limitations","slug":"known-limitations-2","depth":3,"children":[]}]},{"title":"Troubleshooting","slug":"troubleshooting","depth":2,"children":[{"title":"Connection Timeouts","slug":"connection-timeouts","depth":3,"children":[]},{"title":"SSL/TLS Certificate Errors","slug":"ssl/tls-certificate-errors","depth":3,"children":[]},{"title":"Testing Proxy Configuration","slug":"testing-proxy-configuration","depth":3,"children":[]}]},{"title":"Common Proxy Patterns","slug":"common-proxy-patterns","depth":2,"children":[{"title":"Authenticated HTTPS Proxy","slug":"authenticated-https-proxy","depth":3,"children":[]},{"title":"Proxy with No Authentication","slug":"proxy-with-no-authentication","depth":3,"children":[]},{"title":"Proxy with Bypass Rules","slug":"proxy-with-bypass-rules","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/cline-efdc8260/2b786a4501c981f9/hubspot.js"],"subdomain":"cline-efdc8260","siteName":"Cline","title":"Networking and Proxies - Cline","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-07T06:35:22.432Z","originalFileLocation":"troubleshooting/networking-and-proxies.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Configure Cline to work behind firewalls and proxies\">\u003cmeta data-mint-head name=\"application-name\" content=\"Cline\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cline-efdc8260/vRJes0HWuVRZUl-S/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/cline-efdc8260/vRJes0HWuVRZUl-S/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cline-efdc8260/vRJes0HWuVRZUl-S/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cline-efdc8260/vRJes0HWuVRZUl-S/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cline-efdc8260/vRJes0HWuVRZUl-S/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cline-efdc8260/vRJes0HWuVRZUl-S/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cline-efdc8260/vRJes0HWuVRZUl-S/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cline-efdc8260/vRJes0HWuVRZUl-S/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cline-efdc8260/vRJes0HWuVRZUl-S/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Networking and Proxies - Cline\">\u003cmeta data-mint-head property=\"og:description\" content=\"Configure Cline to work behind firewalls and proxies\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Cline\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.cline.bot/troubleshooting/networking-and-proxies\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cline-efdc8260.mintlify.site/_mintlify/api/og/v2?division=Troubleshooting\u0026amp;title=Networking+and+Proxies\u0026amp;description=Configure+Cline+to+work+behind+firewalls+and+proxies\u0026amp;theme=daacaad8219de7a3eec3e7fb\u0026amp;signature=4043de262d1743c0b2a751bd6f28c040f0a4d21e3fb244d94ceee33579caf5da\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Networking and Proxies - Cline\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Configure Cline to work behind firewalls and proxies\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cline-efdc8260.mintlify.site/_mintlify/api/og/v2?division=Troubleshooting\u0026amp;title=Networking+and+Proxies\u0026amp;description=Configure+Cline+to+work+behind+firewalls+and+proxies\u0026amp;theme=daacaad8219de7a3eec3e7fb\u0026amp;signature=4043de262d1743c0b2a751bd6f28c040f0a4d21e3fb244d94ceee33579caf5da\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/cline-efdc8260/vRJes0HWuVRZUl-S/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Cline\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#9D4EDD\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.cline.bot/troubleshooting/networking-and-proxies\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/troubleshooting/networking-and-proxies.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.cline.bot/#organization\",\"name\":\"Cline\",\"url\":\"https://docs.cline.bot\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/cline-efdc8260/WPwumUzXy76eV4i3/assets/cline-wordmark-black.svg?fit=max\u0026auto=format\u0026n=WPwumUzXy76eV4i3\u0026q=85\u0026s=4e26f83486e0f2b4d0966979e031e353\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.cline.bot#website\",\"name\":\"Cline\",\"url\":\"https://docs.cline.bot\",\"publisher\":{\"@id\":\"https://docs.cline.bot/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.cline.bot/troubleshooting/networking-and-proxies#webpage\",\"url\":\"https://docs.cline.bot/troubleshooting/networking-and-proxies\",\"name\":\"Networking and Proxies\",\"description\":\"Configure Cline to work behind firewalls and proxies\",\"dateModified\":\"2026-10-07T06:35:22.432Z\",\"isPartOf\":{\"@id\":\"https://docs.cline.bot#website\"},\"breadcrumb\":{\"@id\":\"https://docs.cline.bot/troubleshooting/networking-and-proxies#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.cline.bot/troubleshooting/networking-and-proxies#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Cline\",\"item\":\"https://docs.cline.bot\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Networking and Proxies\",\"item\":\"https://docs.cline.bot/troubleshooting/networking-and-proxies\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.cline.bot/troubleshooting/networking-and-proxies#article\",\"headline\":\"Networking and Proxies\",\"name\":\"Networking and Proxies\",\"description\":\"Configure Cline to work behind firewalls and proxies\",\"url\":\"https://docs.cline.bot/troubleshooting/networking-and-proxies\",\"mainEntityOfPage\":{\"@id\":\"https://docs.cline.bot/troubleshooting/networking-and-proxies#webpage\"},\"dateModified\":\"2026-10-07T06:35:22.432Z\",\"publisher\":{\"@id\":\"https://docs.cline.bot/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.cline.bot#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Cline\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Cline\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/troubleshooting/networking-and-proxies.md","siteName":"Cline","nav":{"global":null,"tabs":[{"tab":"Cline","icon":"robot","groups":[{"group":"Getting Started","pages":[{"title":"Cline Overview","sidebarTitle":"Cline Overview","href":"/cline-overview"},{"title":"Installing Cline","href":"/getting-started/installing-cline"},{"title":"Cline (usage-billing)","href":"/getting-started/cline-provider"},{"title":"ClinePass","href":"/getting-started/clinepass"},{"title":"Cline Free Models","href":"/getting-started/free-models"},{"group":"Other Models \u0026 Providers","pages":[{"title":"Authorization","href":"/getting-started/authorizing-with-cline"},{"title":"Local models","sidebarTitle":"Local models","href":"/running-models-locally/overview"},{"group":"Cloud Providers","pages":[{"title":"Alibaba Qwen","href":"/provider-config/qwen"},{"title":"Anthropic / Claude Code","href":"/provider-config/anthropic"},{"group":"AWS Bedrock","pages":[{"title":"API Key (Simple Setup)","sidebarTitle":"API Key","href":"/provider-config/aws-bedrock/api-key"},{"title":"IAM Credentials","sidebarTitle":"IAM Credentials","href":"/provider-config/aws-bedrock/iam-credentials"},{"title":"CLI Profile (SSO)","sidebarTitle":"CLI Profile (SSO)","href":"/provider-config/aws-bedrock/cli-profile"}]},{"title":"DeepSeek","href":"/provider-config/deepseek"},{"title":"Google Gemini","href":"/provider-config/google-gemini"},{"title":"MiniMax","href":"/provider-config/minimax"},{"title":"OpenAI (Codex)","href":"/provider-config/openai"},{"title":"OpenAI Compatible","href":"/provider-config/openai-compatible"},{"title":"OpenRouter","href":"/provider-config/openrouter"},{"title":"Poolside","href":"/provider-config/poolside"},{"title":"Z AI (Zhipu AI)","href":"/provider-config/zai"},{"title":"Other 30+ Providers","href":"/provider-config/other-30-plus-providers"}]}]},{"title":"Config","sidebarTitle":"Config","href":"/getting-started/config"}]},{"group":"Usage","pages":[{"group":"Cline Desktop","pages":[{"title":"Cline Desktop","sidebarTitle":"Overview","href":"/usage/cline-desktop"},{"title":"Remote Development over SSH","sidebarTitle":"Remote over SSH","href":"/usage/cline-desktop-ssh"},{"title":"Local Models in Cline Desktop","sidebarTitle":"Local Models","href":"/usage/cline-desktop-local-models"}]},{"title":"Cline Cloud Agents","sidebarTitle":"Cloud Agents","href":"/usage/cloud-agents"},{"title":"IDE","sidebarTitle":"IDE","href":"/usage/ide"},{"title":"TUI","sidebarTitle":"TUI","href":"/usage/tui"},{"group":"CLI","pages":[{"title":"CLI Overview","sidebarTitle":"CLI Overview","href":"/usage/cli-overview"},{"title":"CLI Reference","href":"/cli/cli-reference"},{"group":"Examples","pages":[{"title":"GitHub Issue RCA Sample","href":"/cli/samples/github-issue-rca"},{"title":"GitHub Actions Integration","href":"/cli/samples/github-integration"},{"title":"GitHub PR Review","href":"/cli/samples/github-pr-review"},{"title":"Model Orchestration","href":"/cli/samples/model-orchestration"},{"title":"Supply-Chain Scan Alerts","href":"/cli/samples/supply-chain-alerts"}]}]},{"title":"ACP","sidebarTitle":"ACP","href":"/usage/acp"},{"group":"Kanban","pages":[{"title":"Kanban","sidebarTitle":"Overview","href":"/usage/kanban"},{"title":"Core Workflow","href":"/kanban/core-workflow"},{"title":"Remote Access","href":"/kanban/remote-access"}]}]},{"group":"Configurations","pages":[{"title":"Tools","sidebarTitle":"Tools","href":"/tools-reference/all-cline-tools"},{"title":"Rules","sidebarTitle":"Rules","href":"/customization/cline-rules"},{"title":"Skills","sidebarTitle":"Skills","href":"/customization/skills"},{"title":"Plugins","sidebarTitle":"Plugins","href":"/customization/plugins"},{"title":"MCP","sidebarTitle":"MCP","href":"/mcp/mcp-overview"},{"title":"Hooks","sidebarTitle":"Hooks","href":"/customization/hooks"},{"title":"Scheduling","sidebarTitle":"Scheduling","href":"/cli/scheduling"},{"title":"Connectors","sidebarTitle":"Connectors","href":"/cli/connectors"},{"title":".clineignore (deprecate soon)","sidebarTitle":".clineignore (deprecate soon)","href":"/customization/clineignore"}]},{"group":"Features","pages":[{"title":"Plan \u0026 Act Mode","sidebarTitle":"Plan \u0026 Act Mode","href":"/core-workflows/plan-and-act"},{"title":"Adding Context","sidebarTitle":"Adding Context","href":"/core-workflows/working-with-files"},{"title":"Using Commands","sidebarTitle":"Using Commands","href":"/core-workflows/using-commands"},{"title":"Checkpoints","sidebarTitle":"Checkpoints","href":"/core-workflows/checkpoints"},{"title":"Agent Teams","sidebarTitle":"Agent Teams","href":"/cli/agent-teams"},{"title":"Subagents","sidebarTitle":"Subagents","href":"/features/subagents"}]},{"group":"Best Practices","pages":[{"title":"Memory Bank","sidebarTitle":"Memory Bank","href":"/best-practices/memory-bank"}]},{"group":"IDE Specific Features","pages":[{"title":"Auto Approve \u0026 YOLO Mode","sidebarTitle":"Auto Approve","href":"/features/auto-approve"},{"title":"Jupyter Notebooks","sidebarTitle":"Jupyter Notebooks","href":"/features/jupyter-notebooks"},{"title":"Multi-Root Workspaces","sidebarTitle":"Multi-Root Workspaces","description":null,"href":"/features/multiroot-workspace"}]},{"group":"Troubleshooting","pages":[{"title":"Networking and Proxies","sidebarTitle":"Networking \u0026 Proxies","href":"/troubleshooting/networking-and-proxies"}]},{"group":"Resources","pages":[{"title":"Deprecations","sidebarTitle":"Deprecations","description":"Track Cline features that are being phased out and what to use instead.","href":"/resources/deprecations"}]}]},{"tab":"SDK","icon":"cube","pages":[{"title":"SDK","href":"/sdk/overview"}]},{"tab":"Enterprise","icon":"building","pages":[{"title":"Enterprise","href":"/enterprise-solutions/overview"}]},{"tab":"API","icon":"code","pages":[{"title":"API","href":"/api/overview"}]}]},"basePath":"","title":"Networking and Proxies - Cline","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":[],"chunks":[]}