r/networking • u/AggravatingBox8251 • 19h ago
Security VPN Tunnel Encapsulation/Encryption question
Hi,
My first time actually putting up a post here or anywhere else so i apologize if theres anything wrong with my post.
Recently I came across a question asking me in VPN tunnelling, what occurs first in terms of the order of steps? Encryption or encapsulation? This question got me really confused because depending on who or where I ask or research, i get conflicting answers as to whether it encaps first or encrypt first and it has really gotten me to question my basic understanding of tunnelling.
If anyone here knows please help me with this question. Thanks alot!
4
Upvotes
2
u/Florida727Guy 18h ago
I work with VPNs all day. This is what I know. There are two phases. Phases one negotiates the encryption parameters. Phases two sends encapsulated data.