PIVPN not working with linode
Hello, I trying to install openvpn on linode using debian, the docs available is outdated, so i tried to use pivpn instead.
But after i installed and create openvpn profile it is not connected and i cant figure out why. I tried to use the same way on digitalocean and it is working fine.
Any advice how to get it work on linode? *the openvpn on market place is not an option for me.
2 Replies
Unless you are feeling adventurous, we have a Marketplace deployment of OpenVPN so that you do not need to manually install that application:
You mentioned that this is not an option for you - would you mind elaborating? Did you encounter an issue with the deployment or is it missing some type of functionality that the base installation provides?
I attempted to replicate the issues with the download, but was able to successfully install PiVPN. Both servers were freshly deployed Debian 11 and 12 systems, and I had not started with apt update && apt upgrade
before the installation. I connected to both Linodes and the first command I ever ran on each was curl -L https://install.pivpn.io | bash
and I followed all the prompts to setup PiVPN without issue.
But after i installed and create openvpn profile it is not connected and i cant figure out why. I tried to use the same way on digitalocean and it is working fine
Can you provide any context about the specific issues you encountered or any error messages that you received while installing this application? When I followed the PiVPN script, it required a reboot, so you may need to make sure that OpenVPN is enabled to start on boot:
systemctl enable openvpn
systemctl start openvpn
systemctl status openvpn
Additionally, the installation script doesn't include a way to connect your OpenVPN instance to a client, so be sure to configure that by following these instructions:
Thank you very much for your replay, openvpn in market place is free for just 2 connections and the budget is not enough to create profiles for everyone of the team.
I created now a new machine with debian 11 and followed the installation as you did and the same i used on digitalocean, I used openvpn protocol with tcp on port 443.
After reboot i did the command lines to make sure that OpenVPN is enabled and created a profile by
pivpn add nopass
Downloaded the profile and try to connect it and it is working! I think the problem was that i missed this command lines!
Thank you a lot!