Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

Currently my openvpn server has ip address I want to change it to I tried changing the following lines in server.conf

# Configure server mode and supply a VPN subnet
# for OpenVPN to draw client addresses from.
# The server will take for itself,
# the rest will be made available to clients.
# Each client will be able to reach the server
# on Comment this line out if you are
# ethernet bridging. See the man page for more info.

But when I restart OpenVPN it is still getting the address Is this the right way to do it?

share|improve this question
up vote 1 down vote accepted

You're doing it all right. Make sure that this address is not overridden later in the configuration file.

You should restart openVPN by executing:

sudo /etc/init.d/openvpn restart

Restarting server.conf only is possible with:

sudo /etc/init.d/openvpn restart server
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.