Okay, you’ve successfully set up a new OpenVPN server on your VPS. What’s next?
Here, i post a brief tutorial how to connect my Kubuntu desktop to OpenVPN server with the default connection manager. Previously, I have set up OpenVPN server in just one click. And after the server is up, it automagically created several OpenVPN config files for the client. I fetched them with scp
.
scp root@xxx.xxx.xxx.xxx:/root/{ca.crt,client.ovpn,client1.crt,client1.key} /home/user/Projects/web/VPN
Before this, I didn’t have any idea how to connect to VPN with the OVPN file. But actually, it’s so easy to do that with Kubuntu network manager plasma widget.
- Click on the network manager widget, then click the right corner gear.
- In the window appears, click menu File, choose Import VPN. Select the OVPN file we got previously.
- Edit the connection, add the rest of files. Make sure that the connection type is X.509 Certificates
- Connect it.