Closed GoogleCodeExporter closed 9 years ago
The advanced options are at the end of the configuration file but that should
make no difference for your use case.
Original comment by arne@rfc2549.org
on 28 Oct 2012 at 5:01
Yes, that is my confusion exactly.
I want know what can i do to make it work correct ?
Original comment by chentao....@gmail.com
on 29 Oct 2012 at 1:30
If add the max-routes 1000 at custom options which error message do you get?
Original comment by arne@rfc2549.org
on 29 Oct 2012 at 9:05
=========================
P:OpenVPN ROUTE:cannot add more than 100 routes -- please increase the
max-routes option in the client configuration file
P:Exiting due to fatal error
=========================
Text pastes above is what i get from the log window.
Original comment by chentao....@gmail.com
on 29 Oct 2012 at 1:18
can you check if the generated configuration includes any route x.x.x.x
options? If yes disable the default route options.
Original comment by arne@rfc2549.org
on 29 Oct 2012 at 1:30
yes, there is a route options "route 0.0.0.0. 0.0.0.0". When i disable the
options, openvpn will reconnect over and over again.
what is this default route rule means?should i add it manual?
Original comment by chentao....@gmail.com
on 29 Oct 2012 at 1:59
e, when i add a default route rule manually, it show the " please increase the
max-route option ..." again
Original comment by chentao....@gmail.com
on 29 Oct 2012 at 2:03
under routing and options you have to option to specify "use default route" you
should delete that route and try without it. then the "cannot add more than 100
routes" error message should disappear
Original comment by arne@rfc2549.org
on 29 Oct 2012 at 2:05
i have specified "use default route", then a route "route 0.0.0.0 0.0.0.0" add
to the final configuration file. You means i should delete that route in the
final configuration file?
Original comment by chentao....@gmail.com
on 29 Oct 2012 at 2:12
You should not specify the "use default route" option. I think openvpn
allocates the route structe on the first route statement. If this statements
happens to be before the max-routes option the max-routes option is ignored.
Original comment by arne@rfc2549.org
on 29 Oct 2012 at 2:17
I have submitted a patch to OpenVPN which should give a better error message.
Original comment by arne@rfc2549.org
on 20 Nov 2012 at 9:40
The new patch that reports the error is now in 0.5.25.
Original comment by arne@rfc2549.org
on 16 Dec 2012 at 9:49
Original issue reported on code.google.com by
chentao....@gmail.com
on 28 Oct 2012 at 1:40