[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] How could I add more than 100 routes with OpenVPN?


  • Subject: Re: [Openvpn-users] How could I add more than 100 routes with OpenVPN?
  • From: Mike Tancsa <mike@xxxxxxxxxx>
  • Date: Fri, 03 Jun 2005 13:16:00 -0400

At 03:07 AM 03/06/2005, James Yonan wrote:
On Fri, 3 Jun 2005, [gb2312] ÀäÏþÏè wrote:

> hi, all
>
>
> I add about 300 routes in my config file, and the OpenVPN replies "cannot add more than 100 routes".
> How could I add more than 100 routes without recompile the source code?


You'll have to change some constants and recompile.

Increase MAX_ROUTES in route.h to allow more than 100 routes.

Increase TLS_CHANNEL_BUF_SIZE in common.h to allow pushing larger numbers
of routes.

If you increase either of these on the server to allow for more routes, do you need to recompile the clients as well to have the same values ? I am only pushing 5 routes to the clients, but I have soon have about 250 clients, each with 2 subnets.


---Mike



Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-06/msg00061.html on line 190

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-06/msg00061.html on line 190