IP Security
Animated walkthrough
| STEP | TIME | SOURCE | DEST | PROTO | INFO | SIZE |
|---|---|---|---|---|---|---|
| 1 | 0.s | 192.168.1.10 | 192.0.2.51 | ISAKMP | IKE_SA_INIT MID=00 Initiator Request | 242 B |
| 2 | 0.017s | 192.0.2.51 | 192.168.1.10 | ISAKMP | IKE_SA_INIT MID=00 Responder Response | 242 B |
| 3 | 0.034s | 192.168.1.10 | 192.0.2.51 | ISAKMP | IKE_AUTH MID=01 Initiator Request | 1230 B |
| 4 | 0.052s | 192.0.2.51 | 192.168.1.10 | ISAKMP | IKE_AUTH MID=01 Responder Response | 1182 B |
| 5 | 0.07s | 192.168.1.10 | 192.0.2.51 | ESP | ESP (SPI=0xc5a1e7d2) | 130 B |
| 6 | 0.085s | 192.0.2.51 | 203.0.113.10 | TCP | 52344 → 443 [SYN] Seq=0 | 66 B |
| 7 | 0.095s | 203.0.113.10 | 192.0.2.51 | TCP | 443 → 52344 [SYN, ACK] Seq=0 Ack=1 | 66 B |
| 8 | 0.105s | 192.0.2.51 | 192.168.1.10 | ESP | ESP (SPI=0x8b3f6a11) | 130 B |
Press PLAY to watch the exchange packet by packet; every row below lights up as its packet travels.
Quick facts
How IPsec works, animated
IPsec secures traffic at the IP layer itself: IKEv2 sets it up (moving to port 4500 behind NAT), then ESP encrypts whole packets through the tunnel.
Related ports
More Security protocols
Frequently asked questions
IPsec primarily uses port 500 and 4500.
IPsec sits at Network (Layer 3).
RFC 7296, RFC 4303.
Sources & standards
Explore this reference
about this tool
This page provides original, human-reviewed information about internet protocols such as IPsec (IP Security), 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.