so 'route-delay' only makes sense when a connection is established
After a while I get the idea on "mode server". But. "route-delay" makes sense when a connection is established, or (on server)
when tun-adapter is brought up and got an ip.
On windows, "mode server" and "route-delay" behaves like this:
- OpenVPN is started;
- tun(or tap) adapter is brought up;
- tun adapter gets the ip;
- routes are added.
It may come that after tun-adapter initialization by the OpenVPN is done, the OpenVPN whants to add routes, without waiting adapter to come up and get IP. So a route-delay is necessary, otherwise, "route add a.b.c.d mask x.x.x.0 gw 192.168.3.1" will fail, because tun adapter didn't get the IP at route addition time.
When first starting to use, install and test OpenVPN, I come to this problem when routes wanted to be added before the tun-adapter is really up. So had to come on putting that "route-delay 60" (a full one minute), enough for adater to get the IP.
When moved to Linux, I expected the same problem. But hot into another. Ofcourse I can remove that option.
This is related only to OpenVPN server.