O'Reilly logo

OpenVPN Cookbook - Second Edition by Jan Just Keijser

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8. Performance Tuning

In this chapter, we will cover the following troubleshooting topics:

  • Optimizing performance using ping
  • Optimizing performance using iperf
  • Comparing IPv4 and IPv6 speed
  • OpenSSL cipher speed
  • OpenVPN in Gigabit networks
  • Compression tests
  • Traffic shaping
  • Tuning UDP-based connections
  • Tuning TCP-based connections
  • Analyzing performance using tcpdump

Introduction

This chapter focuses on getting the best performance out of an OpenVPN setup. There are several parameters that can be tuned on both the server side and the client side for getting the highest throughput and the lowest latency. However, the optimal settings of these parameters largely depend on the network layout. The recipes in this chapter will therefore provide guidelines ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required