Tech foundations

What is a proxy?

In short

A proxy is a middleman computer that passes internet traffic on behalf of someone else. A forward proxy acts for users, and a reverse proxy acts for the servers behind a website or AI service.

Without a proxy, your computer talks straight to the website. With one, the request goes to the proxy first, and the proxy decides what to pass on, what to block and what to remember. The other side mostly sees the proxy, not what is behind it.

Mini course

5 short lessons, about 2 minutes in total

  1. The middleman idea
  2. Forward proxy: working for the users
  3. Reverse proxy: working for the servers
  4. Proxies in AI setups
  5. Getting started

Lesson 1

The middleman idea

Every time you open a web page, your device sends a request and a server sends an answer back. A proxy puts a third computer in the middle of that conversation. It receives the request, decides what to do with it, sends it on and passes the answer back.

Because everything flows through it, the middleman can do useful jobs: hide who is asking, block things, keep copies of popular answers and write a log of what happened.

Lesson 2

Forward proxy: working for the users

A forward proxy sits next to the users, for example inside a company network. Staff traffic goes out through it. The company can block risky sites, scan downloads for malware, keep copies of pages many people open and record what leaves the network.

User side
Clients
Forward proxy
Internet
Server side
Reverse proxy
Servers
A forward proxy works for the users and a reverse proxy works for the servers. The internet sits between them

Tap a box to open that concept

The website on the other end sees the proxy's address, not each employee's computer. That is why proxies are also used to hide a user's location, although the proxy itself still sees everything.

Lesson 3

Reverse proxy: working for the servers

A reverse proxy sits in front of the servers. Visitors think they are talking to the website, but they reach the proxy first. It hands each request to a server that has time, keeps copies of pages to answer faster, handles the encryption behind the padlock in the browser and stops attacks before they reach the real servers.

Services such as Cloudflare, Nginx and the load balancers at cloud providers are reverse proxies. This website runs behind one too.

Lesson 4

Proxies in AI setups

When a company connects its systems to AI models, it often puts a reverse proxy in between, called an AI gateway. Every prompt passes through it, so it can keep the API keys secret, log what was asked, remove personal data, cap how much each team spends and switch to another model if one is down.

  1. Customers find youHow customers and AI tools find the companySEOGEOGoogle AI Overviews
  2. AI in daily workTools staff and customers useChatbotAI copilotVoice AI
  3. Building blocksHow AI connects to data and systemsRAG (retrieval-augmented generation)AI agentMCP (Model Context Protocol)
  4. AI modelsThe models that understand and createLarge language model (LLM)Generative AIMachine learning
  5. DataCompany data, gathered and cleanedData warehouseETLData quality
  6. InfrastructureCloud, networks and systems underneathProxyCloud computingDatabaseAPI key
Trust and rulesSecurity, law and control in every layerGDPR and AIEU AI ActAI guardrails
Where Proxy sits in a company's AI setup

This gives the company one place to control and measure its AI use, instead of each app talking to the model provider on its own.

Lesson 5

Getting started

Most small companies already use a reverse proxy without knowing it, through their web host or a service like Cloudflare. Check that it is switched on and that it handles encryption.

If staff use AI tools at work, decide whether traffic to those tools should pass through a filter or gateway, so you can see which tools are used and stop sensitive data from leaving by mistake.

An everyday example

When you visit a website that uses Cloudflare, your browser actually talks to Cloudflare's reverse proxy, which fetches the page from the company's server and blocks bad traffic on the way.

How companies use it

Companies use forward proxies to filter staff web traffic and reverse proxies to protect, speed up and spread the load on their websites, APIs and AI services.

Frequently asked questions

Is a VPN the same as a proxy?

A VPN is not the same as a proxy. Both pass your traffic through another computer, but a VPN encrypts everything your device sends, while a proxy usually handles one kind of traffic, such as web pages.

Does a proxy make me anonymous?

A proxy makes you only partly anonymous. The website sees the proxy's address instead of yours, but the proxy itself can see and log what you do.

What does a proxy have to do with AI?

An AI gateway is a reverse proxy in front of AI models. It hides API keys, logs prompts, caps spending and can switch between models.

In depth: Proxy

The full picture, about 4 minutes of reading

What a proxy is

A proxy is a middleman computer that passes internet traffic on behalf of someone else. Normally, your computer talks straight to the website you visit. With a proxy in between, your request goes to the proxy first, and the proxy passes it on, gets the answer and hands it back.

The word comes from everyday language, where a proxy is someone who acts for you, such as a person who votes on your behalf at a meeting. On the internet, the other side mostly sees the proxy, not what is behind it. That simple position in the middle is what makes proxies useful: whatever passes through can be checked, filtered, changed, sped up or recorded.

Two directions: forward and reverse

There are two main kinds, and the difference is who the proxy works for.

A forward proxy works for the users. It sits between a group of people, such as a company's staff, and the internet. When an employee opens a website, the request goes out through the proxy. The company can use it to block harmful sites, scan downloads for viruses or log what is visited. Websites see the proxy's address, not the employee's.

A reverse proxy works for the servers. It sits in front of a website or service and receives every visitor's request on the servers' behalf. Visitors think they are talking to the website, but they are talking to the reverse proxy, which decides what to pass on. Services such as Cloudflare work this way. A load balancer, which spreads traffic across several servers, is one kind of reverse proxy.

What a proxy can do on the way

Because all traffic passes through it, a proxy can do several jobs at once.

It can protect. A reverse proxy can block known attack patterns, absorb floods of fake traffic meant to overload a site and hide the address of the real servers so attackers cannot reach them directly.

It can speed things up. A proxy can keep copies of pages, images and files it has already delivered, called caching, and serve them again without asking the server. Copies placed in many locations around the world make sites load faster for visitors far away.

It can control and record. A forward proxy can enforce rules about which sites and services employees may use, and keep logs. A reverse proxy can handle encryption, so the servers behind it do not have to, and add security checks before a request ever reaches the application.

Proxies in AI setups

Proxies have become a common part of how companies use AI. A typical example is a website chatbot. The visitor's browser should never talk to the AI provider directly, because that would expose the secret API key, the code that proves who is paying. Instead, the browser talks to the company's own small server or function, which acts as a proxy: it adds the key, checks the request, limits how many questions one visitor can ask and passes it on to the model.

Larger companies place an AI gateway, another kind of proxy, between their staff and AI services. It can log which tools are used, remove personal data before it leaves the company, enforce which models are approved and switch to a backup provider if one is down. This makes AI use visible and controllable instead of scattered across many personal accounts.

Limits and risks

A proxy sees everything that passes through it, which is both its strength and its risk. Whoever runs the proxy can, in principle, read the traffic. That is why free public proxies, which promise to hide who you are, are risky: you are trusting an unknown party with your data.

A proxy also adds a link to the chain. If it is slow or goes down, everything behind it is affected. Good setups therefore use reliable services or run more than one.

Finally, a proxy is not a complete security solution. It can block known threats and hide servers, but weak passwords, unpatched software and careless handling of data are not fixed by putting a middleman in front of them.

What it means for a small business

Many small businesses already use proxies without calling them that. If the website runs behind Cloudflare or a similar service, a reverse proxy is protecting and speeding it up. If the company uses a security service that filters web traffic for staff, that is a forward proxy.

The practical points are few. For the website, putting it behind a reputable reverse proxy service is often a simple, low-cost way to improve speed and protection. For AI projects, make sure that any tool calling an AI model from a website does it through your own server or function, never directly from the browser. And as AI use spreads among staff, consider whether a central way of reaching AI services would help keep track of what data leaves the company.

Curious what this could mean for your company? Book a call.

Book a call