Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Copy the OpenVPN server certificate and key files on the server machine to the /etc/openvpn/ directory. Create a configuration file file /etc/openvpn/server.conf with the following contents:

...

Now place client-specific configuration files in the /etc/openvpn/ccd directory to define the fixed IP address for each VPN client. Create a files with name of Common Name of client certificate (unit1, unit2 etc.). The content of the file describe the assigned IP address.

/etc/openvpn/ccd/unit1

ifconfig-push 10.8.0.101 255.255.255.0

/etc/openvpn/ccd/unit2

ifconfig-push 10.8.0.102 255.255.255.0

...