|
|
Mike Tancsa wrote:
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
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you
shotput
a projector? How fast can you ride your desk chair down the office
luge track?
If you want to score the big prize, get to know the little guy. Play
to win an NEC 61" plasma display: http://www.necitguy.com/?r
_______________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users
qinghoa?? humm....so you'ar good at maths.. :o)
honestly, I really don't think you need all thoses routes. Leonard is
right, make larger subnet can decrease the number of routes
for exemple:
route 61.200.81.134 255.255.255.254
route 61.200.81.136 255.255.255.254
route 61.200.81.142 255.255.255.254
route 61.200.81.144 255.255.255.254
route 61.200.81.150 255.255.255.254
would be sth like: 61.200.81.0/24... if you need a small netmask ending with 254, I suggest you to reorganize the whole network architecture. (you may separate your machines with Vlan)
____________________________________________
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/msg00336.html on line 220
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/msg00336.html on line 220
|