How to Set Up a Proxy Server: Complete Beginner Guide

How to Set Up a Proxy Server: Complete Beginner Guide

Setting up a proxy server involves configuring your device, browser, or application to route internet traffic through an intermediary server. The process varies by operating system, browser, and proxy type. This guide covers every setup method step by step.

Before You Start: What You Need

  1. Proxy server address — The IP address or hostname (e.g., proxy.example.com or 203.0.113.50)
  2. Port number — The proxy’s listening port (e.g., 8080, 3128, 1080)
  3. Authentication (if required) — Username and password
  4. Proxy type — HTTP, HTTPS, SOCKS4, or SOCKS5

Get these from your proxy provider’s dashboard or the proxy list you are using.

Setup by Operating System

Windows 10/11

  1. Open Settings > Network & Internet > Proxy
  2. Under Manual proxy setup, toggle “Use a proxy server” ON
  3. Enter proxy address and port
  4. Check “Don’t use the proxy server for local (intranet) addresses”
  5. Click Save

For authentication: Windows proxy settings do not support username/password directly. Use a proxy extension or PAC file instead.

macOS

  1. Open System Preferences > Network
  2. Select your active connection (WiFi or Ethernet)
  3. Click Advanced > Proxies
  4. Check the proxy type (Web Proxy HTTP, Secure Web Proxy HTTPS, or SOCKS)
  5. Enter server address and port
  6. Enter username/password if required
  7. Click OK > Apply

Linux (Ubuntu/Debian)

System-wide (environment variables): Add to ~/.bashrc or /etc/environment:

  • export http_proxy=http://user:pass@proxy:port
  • export https_proxy=http://user:pass@proxy:port

GNOME Desktop: Settings > Network > Network Proxy > Manual > Enter proxy details

Android

  1. Settings > WiFi > Long-press connected network > Modify network
  2. Show advanced options
  3. Proxy: Manual
  4. Enter hostname, port, and bypass list
  5. Save

iOS (iPhone/iPad)

  1. Settings > WiFi > Tap (i) next to connected network
  2. Scroll to HTTP Proxy
  3. Select Manual
  4. Enter server, port, and authentication

Setup by Browser

Chrome

Chrome uses system proxy settings by default. For independent proxy control, install the Proxy SwitchyOmega extension:

  1. Install from Chrome Web Store
  2. Click the extension icon > Options
  3. Create a new proxy profile
  4. Enter protocol, server, and port
  5. Save and activate the profile

Firefox

Firefox has built-in proxy settings independent of the system:

  1. Menu > Settings > General > Network Settings > Settings
  2. Select Manual proxy configuration
  3. Enter HTTP Proxy, SSL Proxy, or SOCKS Host
  4. Enter port number
  5. Click OK

Safari

Safari uses macOS system proxy settings. Configure through System Preferences > Network > Proxies.

Edge

Edge uses Windows system proxy settings. Configure through Windows Settings > Network & Internet > Proxy.

Setup by Proxy Type

HTTP/HTTPS Proxy

The most common type. Works with web browsers and HTTP-based applications.

  • Port: Typically 8080, 3128, or 80
  • Protocol: HTTP or HTTPS
  • Use for: Web browsing, basic scraping, API access

SOCKS5 Proxy

More versatile than HTTP proxies. Supports all traffic types including TCP and UDP.

  • Port: Typically 1080 or custom
  • Protocol: SOCKS5
  • Use for: All applications, gaming, torrenting, messaging

SOCKS4 Proxy

Older version of SOCKS without authentication or UDP support.

  • Port: Typically 1080
  • Protocol: SOCKS4
  • Use for: Basic TCP applications where SOCKS5 is unavailable

Testing Your Proxy Configuration

After setup, verify the proxy is working:

  1. Visit whatismyip.com — your IP should show the proxy’s IP
  2. Check for DNS leaks at dnsleaktest.com
  3. Test speed at speedtest.net through the proxy
  4. Try accessing a few websites to ensure functionality

Common Setup Issues and Fixes

IssueCauseFix
Cannot connectWrong address/portDouble-check proxy details
407 errorAuthentication requiredAdd username/password
Slow connectionProxy overloadedTry a different proxy server
Some sites not loadingHTTPS not configuredConfigure HTTPS proxy separately
Connection timeoutProxy is downSwitch to a different proxy
DNS leakDNS not routed through proxyConfigure DNS-over-proxy or use SOCKS5

Frequently Asked Questions

How do I set up a proxy on my phone?

On iPhone: Settings > WiFi > tap network > HTTP Proxy > Manual. On Android: Settings > WiFi > long-press network > Modify > Advanced > Proxy: Manual. Enter your proxy server address and port.

Do I need a proxy for every browser?

If you set up a system-level proxy (in OS settings), it applies to most applications including all browsers. Browser-specific proxy settings (Firefox, Chrome with extensions) only affect that browser.

What port should I use for my proxy?

Use the port provided by your proxy provider. Common defaults: HTTP proxy = 8080 or 3128, SOCKS5 = 1080, HTTPS = 443. Your provider’s dashboard will show the correct port.

How do I know if my proxy is working?

Visit whatismyip.com after configuring the proxy. If the displayed IP matches your proxy server’s IP (not your real IP), the proxy is working correctly.

Can I set up a proxy server at home?

Yes, using free software like Squid (Linux/Mac/Windows) or TinyProxy (Linux). You need a computer running 24/7 and forward port traffic through your router. However, this only changes your IP to your home IP, which is useful primarily for remote access.

Internal Resources


Related Reading

Scroll to Top