Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

From both a performance and security standpoint, which cipher should I use with openvpn?

According to http://openvpn.net/index.php/open-source/documentation/howto.html#security , the default is Blowfish, and the recommendation/example is to use AES-256-CBC, for its larger key size. Is 256-bit AES the best practice?

share|improve this question
up vote 6 down vote accepted

AES-256-CBC is probably "the best". AES-128-CBC is roughly 2x the speed however, at least according to openssl, and is perfectly fine for all but the highest security traffic. OpenVPN is pretty efficient and so my experience has been that either works very well.

share|improve this answer

For the TLS cipher you can choose a good 256 bit cipher and it will not slow things much because the TLS channel is only the control channel and doesn't carry much data compared to the main channel.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.