Netgate SG-1000 microFirewall

Author Topic: OpenVPN Advanced Config Custom Options  (Read 224 times)

0 Members and 1 Guest are viewing this topic.

Offline pfn00bie

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
OpenVPN Advanced Config Custom Options
« on: January 02, 2018, 01:20:00 pm »
I have read that adding:

sndbuf 393216;
rcvbuf 393216;
push "sndbuf 393216";
push "rcvbuf 393216";

to the config file increases performance. Does this still work effectively with pfSense version 2.4.2? I have used this without issue in previous versions.

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 21739
  • Karma: +1503/-26
    • View Profile
Re: OpenVPN Advanced Config Custom Options
« Reply #1 on: January 02, 2018, 02:57:11 pm »
The optimal buffer size depends on your connection and other factors, it's not so simple as picking a number and using that for everything.

There is a GUI control for send/receive buffer in 2.4.x, you can use that if you like, or if you leave it set at 'default' then you can still use whatever advanced option you want for those directives.
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!