By default, your myhosting.com OpenVPN VPS will allow you to connect with any user you create on your VPS (at least until you secure it using the steps described above). This tutorial will go over both requirements.
Log into your VPS as the “root” user using Putty or through your Virtuozzo Power Panel SSH-connect feature.
Issue the following commands where “userdemo” is replaced with the username of your choice (this username will be used to log into the VPN server). See the screenshot to better understand the process.
The second command entered above will prompt you for a password for the user. Make sure you remember this password as you’ll need it to log into your VPN server later.
The user should now be created! If you have enabled VPN server security as recommend earlier in this article, there is one more step you’ll need to perform in order to allow this user to log in.
To enable the user you just created to access the VPN server, add that user to the “User Permissions” page in your OpenVPN administration portal at https://your-server-ip:943/admin
Add your new user to the list you see there and click Save Settings per below.
You should see a page that indicates the user has been added. In some cases, you may need to force the change to the running server (rather than restarting), in this case you’ll see below your change confirmation a button to “Update Running Server”. Click this button.
Then you’re done! Follow the login steps in previous tutorials to log in with your new user.