Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.