Not sure that you will get very far streaming on a Pi 2B - even the 4B can struggle with Netflix etc some days and by the time you have carried the Pi, keyboard, mouse and screen you will find a laptop easier. I carry a Lenovo 120s running Linux on it and it out performs the Pi by miles.
You may do better to install the OpenVPN server on the PI and leave it at home to allow you back into your network :-)
Saying all of that though, these are from my old notes and may have been changed (not using OpenVPN now) so I'm sorry I've no client handy at the mo and being locked down I could not test it if I build one :-)
To install the client try:
sudo apt update
sudo apt install openvpn
Put your certificate and key file in here
Find the example config file (client.conf) - it maybe in /usr/share/doc/(directory packages/ maybe here)openvpn/ or below this and copy to this directory
cp /usr/share/.../.../.../client.conf .
Edit this with
sudo nano client.conf and change the values to your details for:
- remote (server details space port number)
- ca (point to your copy of the ca file)
- cert (again point to your copy of the client.crt file)
- key (again point to your copy of the client.key file)
- tls-auth (again point to your copy of the ta.key file)
All paths must be from root and include the file name e.g.
Then to start the client:
If you have connection issues try adding either a 0 or 1 after a space at the end of the tls-auth. This determines who starts the key exchange - 0 is server, 1 is client and the 1 fixed it for me...
THE place for OpenVPN questions is the OpenVPN Community