Skip to contentSkip to conversation

OpenVPN encryption architecture

Openvpn-devel Leroy Tennison 2 participants 3 messages Apr 4, 2022 – Apr 5, 2022 2 messages not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Trying to find information on how OpenVPN uses the keys generated for the client and server to encrypt traffic and not having any success (maybe I'm not searching for the right terms).  Can someone explain or point me to a URL explaining how OpenVPN encrypts traffic once authentication is successful?  I found the article about authentication but it didn't describe the process after authentication.  Thanks for your help.

#2 lore raw

Am 04.04.22 um 22:32 schrieb Leroy Tennison via Openvpn-devel:

Quoted 2 lines

Trying to find information on how OpenVPN uses the keys generated for the client and server to encrypt traffic and not having any success (maybe I'm not searching for the right terms).  Can someone explain or point me to a URL explaining how OpenVPN encrypts traffic once authentication is successful?  I found the article about authentication but it didn't describe the process after authentication.  Thanks for your help.

On what level are you looking? Complete protocol specification (some WIP but not finished)? Just parts of it? If you are a bit more specific I can probably answer your answer.

Arne

#4 lore raw
In reply to a message not in the archive

Am 05.04.22 um 05:10 schrieb Leroy Tennison:

Quoted 2 lines

Thanks for your reply, I'm actually looking for something pretty high-level like "the server (or client) sends their (whatever key) and the client (or server) (creates a session key from it or whatever happens) and that is used for encryption."  I am also wondering what the client and server keys are used for if not in this process.

High level is that we use a TLS 1.0/TLS 1.1 inspired key exchange in older versions and nowadays if both server and client are capable of TLS EKM, we use TLS EKM to generate key material for encryption of data channel.

The server and client keys are used in the TLS session like with any TLS session.

Arne