Table of Contents

,

Add VPN users

Create new user

adduser --no-create-home --shell /bin/false vpnuser

Assign vpn ip address

Inside of /etc/openvpn/ccd/ add new file with same name as user's name (“vpnuser” in this example) and next 2 ip adresse which are not used from this table

Example file content:

ifconfig-push 10.50.10.5 10.50.10.6

Check if there are other files in ccd directory.

Check that the ips are not blocked by firewall. First ip needs to be whitelisted.

Tested on

References