World’s largest virtual agentic engineering & quality conference
To set up a proxy server you either point your operating system at an existing proxy through its network settings, or run your own proxy such as Squid. On Windows and macOS you enter the proxy IP address and port under network proxy settings; on Linux you install Squid, edit its config for the port and allowed clients, and restart the service. A quick curl test then confirms traffic is routing correctly.
A proxy server is an intermediary that sits between a client and the wider internet, forwarding requests and responses on the client's behalf. It can mask IP addresses, cache content, filter traffic, and enforce access rules. The two main kinds are a forward proxy, which fronts clients, and a reverse proxy, which fronts servers. For background, see what is a proxy.
To run your own proxy on Windows, install a Squid build and edit squid.conf. The dedicated setup a proxy server on Windows guide walks through it in detail.
To run a local Squid proxy on macOS via Homebrew:
# Install Squid
brew install squid
# Edit the config, then set the listening port
nano /usr/local/etc/squid.conf
# add: http_port 3128
# Start the service
sudo brew services start squid
# Verify it works
curl -x http://localhost:3128 https://www.google.comSquid is the standard forward proxy on Linux. Install it, define an access control list for the clients allowed to use it, set the port, and restart.
# Debian / Ubuntu
sudo apt-get update
sudo apt-get install squid
# Edit the configuration
sudo nano /etc/squid/squid.confInside squid.conf, set the port and allow your local network:
http_port 3128
acl localnet src 192.168.0.0/16
http_access allow localnet# Restart to apply changes
sudo systemctl restart squidThe setup a proxy server in Linux and setup a proxy server on your LAN guides cover ACLs and network-wide sharing in more depth.
A reverse proxy forwards incoming client requests to one or more backend servers, useful for load balancing, TLS termination, and caching.
server {
listen 8080;
location / {
proxy_pass http://127.0.0.1:5000;
}
}Add this block to nginx.conf, then start or reload Nginx and open http://localhost:8080 to confirm requests reach the backend on port 5000.
Setting up a proxy server comes down to two paths: configure your OS to use an existing proxy, or stand up your own with Squid or Nginx. Whichever you choose, match the port on both ends, open the firewall, define access rules, restart the service, and verify with a real request. From there a forward proxy handles client traffic while a reverse proxy fronts your servers, each solving a different networking problem.
A forward proxy sits in front of clients and forwards their requests to the internet, often for filtering or anonymity. A reverse proxy sits in front of servers and routes incoming requests to backend services, commonly for load balancing and caching.
Open Settings > Network & Internet > Proxy, then under Manual proxy setup turn on Use a proxy server, enter the IP address and port, add any exceptions, and save. To run your own proxy, install a Squid build and edit squid.conf.
Install Squid with your package manager, edit /etc/squid/squid.conf to set the http_port and allowed IP ranges via ACLs, then restart the Squid service. Point client browsers at the server IP and configured port to route traffic through it.
Send a request through the proxy, for example curl -x http://localhost:3128 https://www.google.com. A successful response confirms traffic is routing through the proxy. You can also check that your visible IP changes to the proxy's address.
A proxy reroutes traffic for a specific application or protocol, usually without encryption. A VPN encrypts all traffic from the device at the operating system level, offering stronger privacy but typically with more overhead than a lightweight proxy.
There is no fixed rule, but common conventions are 3128 or 8080 for HTTP proxies and 1080 for SOCKS proxies. Choose a free port, open it in the firewall, and match it in both the server config and client settings.
KaneAI - Testing Assistant
World’s first AI-Native E2E testing agent.

TestMu AI forEnterprise
Get access to solutions built on Enterprise
grade security, privacy, & compliance