OpenVPN – max-routes must be specified before redirect-gateway
Trying to use --redirect-gateway
flag on OpenVPN and getting error max-routes must be specified before redirect-gateway
. But I checked, and there is max-routes. It’s specified. It’s specified properly before redirect-gateway
. It’s --max-routes 255
. What gives?
Turns out the error msg is saying, max-routes must be specified
, and max-routes must be specified before redirect-gateway
, and lastly, max-routes cannot be specified after redirect-gateway
. I have another copy of a trailing --max-routes
.
English error msg is ambiguous, after all.
Written on January 17, 2017