[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: James Yonan <jim@xxxxxxxxx>
  • Date: Fri, 3 Jun 2005 01:07:57 -0600 (MDT)

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.

James




-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr_______________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users


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/msg00046.html on line 197

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/msg00046.html on line 197