Raspberry Pi
Install OpenVPN for Raspbian#
This guide was created for Raspbian Buster Lite but also works to set up an OpenVPN client on Raspbian Buster with desktop.
1. Update the Raspberry Pi#
sudo apt-get updatesudo apt-get upgrade2. Install OpenVPN#
sudo apt-get install openvpn unzip3. Make sure the time zone is correct#
Run the command below and go through the configuration prompt to select the correct time zone.
sudo dpkg-reconfigure tzdata4. Elevate your privileges to root#
sudo -i5. Download configuration file#
Move the downloaded .ovpn file to OpenVPN folder
6. Enter your login credentials#
echo "**CHANGE TO YOUR USERNAME**" >> /etc/openvpn/credentialsecho "**CHANGE TO YOUR PASSWORD**" >> /etc/openvpn/credentials7. Start OpenVPN and see that everything works#
sudo openvpn --config /etc/openvpn/clroom.conf --daemon8. Verify that the connection was successful#
Wait for about a minute after running the last command, then run:
note
The service you should check is openvpn@NAME where NAME is the name of your configuration file (without the ".conf"). So if your openvpn configuration file is /etc/openvpn/clroom.conf you should use command as below.
systemctl status openvpn@clroom9. Done#
Congratulations! Now your Raspberry Pi is connected to CloudLAN Room.
info
Got a question not answered in this knowledge base?
Contact us at [email protected] or "chat with support" from our website or inside the app