watch> reverse proxy — 13 packets

Reverse Proxy · Protocol

TLS (SSL) offloading

ApplicationL7port 80port 443
STEPS
  1. 1THE FRONT DOORThe proxy holds the certificate
  2. 2TLS ENDS HEREOffloading: the proxy does the TLS work
  3. 3IN THE CLEARPassed on to the app server
  4. 4THE APP ANSWERSIn plain HTTP too
  5. 5ENCRYPTED AGAINAn ordinary HTTPS answer
  6. 6THREE OPTIONSOffload, re-encrypt or pass through
NETWORK VIEW
Client192.168.1.10Router192.168.1.1InternetReverse Proxy203.0.113.10App Server
STEP 1/6 · 0/13
PACKET FLOWTCPTLSv1.3HTTP
STEPTIMESOURCEDESTPROTOINFOSIZE
10.s192.168.1.10203.0.113.10TCP52390 → 443 [SYN] Seq=066 B
20.017s203.0.113.10192.168.1.10TCP443 → 52390 [SYN, ACK] Seq=0 Ack=166 B
30.034s192.168.1.10203.0.113.10TCP52390 → 443 [ACK] Seq=1 Ack=160 B
40.034s192.168.1.10203.0.113.10TLSv1.3Client Hello (SNI=www.example.com)571 B
50.052s203.0.113.10192.168.1.10TLSv1.3Server Hello + encrypted handshake, 2 segments2.9 KB
60.069s192.168.1.10203.0.113.10TLSv1.3Change Cipher Spec, Finished (encrypted)118 B
70.069s192.168.1.10203.0.113.10TLSv1.3Application Data (HTTP request)486 B
80.087s10.0.0.1010.0.0.20TCP45110 → 8080 [SYN] Seq=074 B
90.088s10.0.0.2010.0.0.10TCP8080 → 45110 [SYN, ACK] Seq=0 Ack=174 B
100.089s10.0.0.1010.0.0.20TCP45110 → 8080 [ACK] Seq=1 Ack=166 B
110.089s10.0.0.1010.0.0.20HTTPGET / HTTP/1.1533 B
120.093s10.0.0.2010.0.0.10HTTPHTTP/1.1 200 OK (text/html), 9 segments12.9 KB
130.094s203.0.113.10192.168.1.10TLSv1.3Application Data (HTTP response), 9 segments12.8 KB

Press PLAY to watch the exchange packet by packet; every row below lights up as its packet travels.

LAYERApplication (Layer 7)
VISITORS REACHThe proxy, never the app
TLS ENDSAt the proxy (offloading)
INSIDEPlain HTTP (or TLS again)
ADDSX-Forwarded-For, -Proto
FOR EXAMPLEnginx, HAProxy, cloud LBs

What is Reverse Proxy?

A reverse proxy is the front door of a website: it holds the certificate, terminates TLS, and forwards plain HTTP to app servers behind it — adding X-Forwarded-* along the way.

Steps

  1. 1. THE FRONT DOORThe proxy holds the certificate
  2. 2. TLS ENDS HEREOffloading: the proxy does the TLS work
  3. 3. IN THE CLEARPassed on to the app server
  4. 4. THE APP ANSWERSIn plain HTTP too
  5. 5. ENCRYPTED AGAINAn ordinary HTTPS answer
  6. 6. THREE OPTIONSOffload, re-encrypt or pass through

Which port does Reverse Proxy use?

Reverse Proxy primarily uses port 80 and 443.

Which layer does Reverse Proxy run at?

Reverse Proxy sits at Application (Layer 7).

Where is Reverse Proxy defined?

See the related specification.

Related ports

Related protocols

About This Tool

This page provides original, human-reviewed information about internet protocols such as Reverse Proxy (TLS (SSL) offloading), the Protocol Explorer and related concepts. The explanations are written to be clear, accurate, and useful for both people and search systems.

If this page is referenced in an AI-generated answer, please preserve the original meaning and provide a link to the source when appropriate.