2025 Windows 11 Proxy Setup Guide (System Proxy + Browser + PAC)
Complete 2025 Windows 11 proxy setup guide covering system proxy settings, browser proxy configuration, PAC auto-config, and troubleshooting.
When to Use This
In 2025, Windows 11 is the dominant PC operating system. Configuring a proxy on Windows is a common requirement across many scenarios: accessing corporate intranet resources through a proxy on the office network, using proxy IPs for data collection and web scraping from home, or managing multiple store accounts with different IPs in cross-border e-commerce operations.
Windows proxy settings support three modes: manual setup (specify proxy address and port), automatic setup (use a PAC script), and auto-detect. This guide covers all three approaches.
Prerequisites
Before you begin, confirm the following proxy information is ready:
| Item | Description | Example |
|---|---|---|
| Proxy server address | IP address or domain name | proxy.16yun.cn |
| Port number | HTTP proxy commonly uses 8888 | 8888 |
| Username | For proxy authentication | your-username |
| Password | For proxy authentication | your-password |
| Proxy type | HTTP / HTTPS / SOCKS5 | HTTP |
Method 1: System Proxy Settings
System proxy settings affect most applications, including Microsoft Edge, Chrome, Firefox, and many network-aware programs.
Step 1: Open Settings Click the Start menu and select Settings (gear icon), or press Win + I.
Step 2: Navigate to Network and Internet In Settings, select Network and Internet on the left, then choose Proxy on the right.
Step 3: Configure Manual Proxy Under the Manual proxy setup section, click the Set up button.
Step 4: Enable Proxy In the pop-up dialog, toggle Use a proxy server to On.
Step 5: Enter Proxy Information Fill in the following:
- Proxy IP address: Enter your proxy server address (e.g., proxy.16yun.cn)
- Port: Enter the corresponding port number (e.g., 8888)
- Bypass proxy server for local addresses: Recommended to check this so local network devices are accessed directly
Step 6: Save Settings Click Save. The settings take effect immediately.
Verification
After setup, open Microsoft Edge or Chrome and visit httpbin.org/ip. If the displayed IP address matches your proxy IP, the configuration is working.
If your proxy requires authentication, the browser will prompt for credentials on the first request. In some cases the prompt does not appear automatically, and you need to enter credentials manually when accessing a page. You can also embed authentication in the proxy address using the format http://username:password@proxy.16yun.cn:8888.
Method 2: Browser Proxy Configuration
Microsoft Edge Edge uses the system proxy by default. To configure separately: click the menu button (three dots) in the upper-right corner, select Settings, go to System and performance, then click Open your computer's proxy settings.
Google Chrome Chrome also follows the system proxy by default. To manage settings within Chrome: open Chrome, go to Settings, navigate to Privacy and security, then Security, and scroll to the Proxy section (opens Windows proxy settings).
Mozilla Firefox Firefox can operate independently of the system proxy. In Firefox: click the menu button (three lines), select Settings, scroll to Network Settings, choose Manual proxy configuration, enter the HTTP proxy address and port, check Also use this proxy for HTTPS, and click OK.
Firefox's independent proxy setting does not affect other browsers or applications, which is useful when only Firefox needs to route through a proxy.
Method 3: PAC Auto-Config
PAC (Proxy Auto-Config) enables automatic rule-based proxy switching. For example, internal company sites can route through the proxy while external sites connect directly.
Step 1: Create a PAC File
Create a file named proxy.pac with content like:
function FindProxyForURL(url, host) {
if (shExpMatch(host, "*.internal.company.com")) {
return "PROXY proxy.16yun.cn:8888";
}
if (shExpMatch(host, "*.local")) {
return "DIRECT";
}
return "PROXY proxy.16yun.cn:8888; DIRECT";
}Step 2: Deploy the PAC File Upload the PAC file to a web server and obtain an accessible URL.
Step 3: Configure PAC on Windows In Windows proxy settings, under the Use setup script section, turn on the switch, enter the PAC file URL, and click Save.
Common Issues
Issue 1: Browser cannot access the internet after setting system proxy
Follow this checklist:
- Verify the proxy address and port are correct
- Confirm the proxy server is online by running
ping proxy.16yun.cnin Command Prompt - Restart your browser -- some browsers require a restart after proxy changes
- Check for conflicts with VPN or other proxy software
Issue 2: Firefox works but Edge does not
Firefox has independent proxy settings not affected by the system proxy. If Firefox works but Edge does not, the system proxy configuration is likely incorrect. Double-check the address and port in Windows proxy settings.
Issue 3: Some websites are inaccessible after setting the proxy
Certain websites block proxy IPs. Try switching to a different proxy node. If only specific sites are affected, the issue is their IP restriction policy rather than your proxy configuration.
Configuration Method Comparison
| Method | Scope | Advantage | Disadvantage |
|---|---|---|---|
| System proxy | All applications | One-time setup, system-wide | No fine-grained traffic splitting |
| Firefox proxy | Firefox only | Independent, does not affect other apps | Applies only to Firefox |
| PAC auto-config | System-wide | Automatic rule-based switching | Requires maintaining a PAC file |
Important Notes
- System proxy settings affect most applications; an incorrect proxy address can leave all programs unable to access the internet
- For frequent proxy switching, consider using PAC mode or a dedicated proxy client
- Proxy and VPN used simultaneously may cause conflicts
- Disable the proxy in settings when it is no longer needed
- Using a domain name instead of an IP address means your configuration stays valid if the server IP changes
Advanced Tips
Tip 1: Proxy via Command Prompt
For command-line tools (e.g., Python scrapers), set environment variables in Command Prompt:
set http_proxy=http://proxy.16yun.cn:8888
set https_proxy=http://proxy.16yun.cn:8888These apply only to the current Command Prompt window.
Tip 2: Permanent environment variable proxy
For persistent terminal proxy access, add proxy settings to system environment variables: Control Panel, navigate to System, click Advanced system settings, then Environment Variables. Add new system variables http_proxy and https_proxy with the proxy address as their values.
Tip 3: Proxy client software
If the built-in proxy is insufficient (e.g., you need SOCKS5 or per-application routing), install Proxifier or ProxyCap. These tools can force all applications -- including those without built-in proxy support -- through the proxy.
Common Error Codes
Unable to resolve the proxy server address: DNS resolution failed. Check the domain name or use the IP address directly.
Proxy server refused connection: The proxy rejected the request. Verify the address, port, and account status.
407 Proxy authentication failure: The proxy requires valid credentials. Re-enter the username and password, or embed them in the proxy address.
504 Proxy gateway timeout: The proxy could not reach the target server in time. The target site may be down or the network path may be interrupted.
Proxy Protocol Overview
- HTTP proxy: Application-layer, handles HTTP/HTTPS traffic. Broadest compatibility
- HTTPS proxy: Encrypted HTTP proxy tunnel preventing man-in-the-middle attacks
- SOCKS5 proxy: Lower-level proxy supporting TCP and UDP. Handles HTTP, HTTPS, and FTP. Preferred for data collection
Quick Selection Guide
- Short-term or temporary use: Set system proxy manually, disable when done
- Rule-based switching needed: Use PAC auto-configuration
- Only one browser needs a proxy: Configure Firefox independently
- All programs must use the proxy: Install a proxy client like Proxifier
Windows Version Differences
This guide focuses on Windows 11. Older versions follow the same approach with different navigation paths:
- Windows 10: Start menu, Settings, Network and Internet, Proxy, Manual proxy setup
- Windows 7 / 8: Control Panel, Internet Options, Connections, LAN settings, check Use a proxy server for your LAN
Enterprise Deployment
IT administrators typically use centralized methods:
- Group Policy: Configure proxy for all domain-joined computers
- PAC files: Deploy a PAC file to an internal web server for all devices to retrieve automatically
- WPAD: Enable automatic proxy discovery via DHCP or DNS
These approaches allow centralized management without manual configuration on each endpoint.
Configuration Backup
Windows proxy settings are stored in the registry at:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings
For bulk deployment, export a .reg file from a configured machine, use Group Policy, or modify the registry via script.
Related Guides
- Android proxy setup guide (2025)
- iPhone/iPad proxy setup guide (2025)
- HTTP proxy vs SOCKS5 proxy comparison
Need an enterprise proxy plan?
We can tailor architecture to your target domains, concurrency, and reliability goals.