Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I enable the redirect-gateway option on the server, restart openvpn, and restart the client software, the new default gateway is set on the client.

When I then disable the redirect-gateway option in the server config, restart openvpn on the server, then on the client, the client no longer sets the old gateway, effectively breaking access to the outside world.

Why could this be?

share|improve this question
i dont think this is worth investigating, even if its a bug, as one doesnt change such an important option on the server every day – Aleksandar Ivanisevic Mar 22 '10 at 0:17
up vote 0 down vote accepted

this depends on your configuration. Most likely you've included something like

user nobody group nobody

in your client config. The side effect of this is that the client can not restore the old routes when the connection dies.

Without more information on your setup it is impossible to tell for sure.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.