VPN vs Proxy: Chosen to Translate, or to Carry Without Reading
Privacy
The answer worth having sits in a document about neither of them. HTTP’s specification has to name the kinds of machine a request travels through before it arrives, and two of the three it names are the pair you are weighing up. One is chosen to read what you sent. The other is not a party to it at all.
Three kinds of intermediary, and the question is about two
HTTP Semantics is an Internet Standard, numbered STD 97, and its subject is how requests and responses behave. It defines our subject in passing, because it cannot describe a request travelling across the internet without naming what the request travels through. Three forms cover it, and they arrive in one breath: “proxy, gateway, and tunnel”.
Choice is what defines the first. A proxy, the specification says, “is a message-forwarding agent that is chosen by the client, usually via local configuration rules” and will then “attempt to satisfy those requests via translation through the HTTP interface”. Two things are doing work there. You chose it, and it satisfies the request by translating, which means it has to understand the request before it can act on it.
Second comes the one that faces the other way. A gateway, for which reverse proxy is the specification’s alternative name, stands where the server should be: it receives on behalf of the origin and passes requests inward on its own terms. That arrangement is behind the failure codes that point past the server you asked for.
Third is the one defined by what it declines to do. A tunnel “acts as a blind relay between two connections without changing the messages”. It has no opinion and keeps no position: “Once active, a tunnel is not considered a party to the HTTP communication”, and “A tunnel ceases to exist when both ends of the relayed connection are closed”. The specification is explicit that these are roles rather than products, noting that “a single intermediary might act as an origin server, proxy, gateway, or tunnel”.
What the first kind is allowed to change on the way past
Reading the request is not an unfortunate side effect of forwarding it. It is the function, and the specification sets out what may be done with it.
There is a name for the version that edits. Among the features an intermediary may carry are those “for transforming messages and their content”, and there is a term for one that uses them. An intermediary earns it “if it is designed or configured to modify messages in a semantically meaningful way”. The specification’s own examples of what the modification is for are a mixed set: “a malware filter, a format transcoder, or a privacy filter”.
Your own choice is the justification. Having listed the ways a message can be rewritten in transit, the specification explains why that is acceptable, and the explanation is short: such transformations are “presumed to be desired by whichever client” chose the thing doing the rewriting, or the organisation that chose it for them. Consent is inferred from configuration. That is defensible when you set it up yourself and worth noticing when somebody else set it up for you.
And it has to put its name on the message. HTTP carries a field that records the chain, and appending to that field is a requirement rather than a courtesy. “Each member of the Via field value represents a proxy or gateway that has forwarded the message”, with “Each intermediary appends its own information about how the message was received”. The disclosure is partial by design, since a sender may substitute a pseudonym where “the real host is considered to be sensitive information”. What is never optional is the announcement itself.
Where a specification says it sits, and what that rules out
The familiar claim is that one covers a single application while the other covers the whole device. Half of that rests on a specification, which turns out to say more than the claim does.
One of them puts its own position in writing. SOCKS was specified in March 1996, in a memo whose stated purpose was to let applications “conveniently and securely use the services of a network firewall”. Then it locates itself in the stack, and the sentence doubles as a scope limit: the protocol sits “between the application layer and the transport layer, and as such does not provide network-layer gateway services, such as forwarding of ICMP messages”.
Read that as a boundary rather than as trivia. Anything your machine sends below the transport layer is outside what this arrangement handles, so it leaves by whichever route it would have taken anyway. Nothing is leaking there and nothing is broken. That traffic was never inside the arrangement at all.
Something in the software has to be told. On what adoption used to cost, the same memo is unsparing, recording that implementation “typically involves the recompilation or relinking of TCP-based client applications”. A settings dialogue has hidden that work ever since, but the dependency survives it: something in the application, or in the system acting for it, has to be told to send traffic somewhere unusual.
One further arrangement skips the telling entirely. A provider can substitute the address a hostname resolves to and let your own machine connect to a relay it was simply handed, and that is a variant of the whole arrangement that applications never learn about.
Nobody ever settled the definition of the other word
One half of this comparison has a definition in an Internet Standard. The other half has a framework document from February 2000 that opens by explaining why no definition had been agreed.
Its opening names the problem before describing the thing. Deployment had been held back, its authors write, by “the lack of general agreement on the definition and scope of VPNs and confusion over the wide variety of solutions that are all described by the term VPN”. Their own definition is deliberately loose, an “emulation of a private Wide Area Network (WAN) facility using IP facilities”, and they draw the conclusion from it themselves: “there are as many types of VPNs as there are types of WANs”.
It is also not a standard, and says so at the front. The memo is Informational, and an attached note records that “This document is not the product of an IETF Working Group”, adding that the IETF had no work in progress at the time on a framework of its own. So the first word in this comparison has a specified meaning anybody can look up, and the second still does not.
The framework’s first requirement is the other document’s definition. Of the general properties it sets out, the one it lists first is headed Opaque Packet Transport, because “The traffic carried within a VPN may have no relation to the traffic on the IP backbone”. Opaque in February 2000 and a blind relay in June 2022 are the same property under two names: the thing in the middle does not look.
And one request turns one into the other. HTTP has a method whose job is that conversion. It is “intended for use in requests to a proxy”, and what it asks for is “blind forwarding of data, in both directions, until the tunnel is closed”. The box you configured stops translating and starts relaying because you asked it to, so the arrangement you are in is a property of the request rather than of the hardware.
An intermediary nobody chose, and the sentence that settles it
Both arrangements so far share one property. You picked them.
HTTP Semantics keeps a separate category for the ones you did not. After defining its three forms it names a kind it had excluded from them, one acting below HTTP’s own layer and “filtering or redirecting HTTP traffic without the knowledge or permission of message senders”. Its named example is an interception proxy, which “differs from an HTTP proxy because it is not chosen by the client”. Where you meet one is stated plainly: they “are commonly found on public network access points, as a means of enforcing account subscription prior to allowing use of non-local Internet services”. Translated out of specification language, that is the login screen a venue puts up before its wireless will carry anything. Taken from this angle it becomes an interruption that is part of the arrangement rather than an attack.
Finding out which of them you are using is a separate job from choosing one. A reputation reading will grade whichever address is currently visible, and its first suggested remedy is not a reconfiguration at all. It asks you to rule out software you started and forgot, so it amounts to a reading that begins by doubting the reader rather than the result.
A second reading answers a narrower question and declines to go further. Where one address is discoverable through a live media connection while something else is what sites are handed, the disagreement between those two values is the finding, and the page states that rule rather than applying it, in a comparison that leaves the verdict where it found it.
Two arrangements, then, separated by what each is permitted to know. One is defined to read what it carries, bounded by the layer it sits at, and obliged to put its name on the message. The other has never had an agreed definition, and its one firm requirement is that it carries traffic without looking. Both are in your path because you put them there, which is the one thing the uninvited kind can never claim. About the two you did choose, the specification is unsentimental over what is left: “Intermediaries are no more trustworthy than the people and policies under which they operate; HTTP cannot solve this problem.”