hope this is a simple one for you experts. Been trying to get the configuration going for OpenVPN and keep hitting the same wall:
when I enter this command './build-ca', I get the following:
error on line 198 of /etc/openvpn/easy-rsa/openssl-1.0.0.cnf 139967340545688:error:0E065068:configuration file routines:STR_COPY:variable has no value:conf_def.c:584:line 198
The commands I have used are from the guide:
sudo apt install openvpn easy-rsa mkdir /etc/openvpn/easy-rsa/ cp -r /usr/share/easy-rsa/* /etc/openvpn/easy-rsa/
then edit /etc/openvpn/easy-rsa/vars
export KEY_COUNTRY="XX" export KEY_PROVINCE="XX" export KEY_CITY="XXX" export KEY_ORG="Example Company" export KEY_EMAIL="firstname.lastname@example.org" export KEY_CN=MyVPN export KEY_NAME=MyVPN export KEY_OU=MyVPN cd /etc/openvpn/easy-rsa/ source vars ./clean-all ./build-ca
I have used the guide from Ubuntu: https://help.ubuntu.com/lts/serverguide/openvpn.html
Been using PuTTY from my Windows 10 system and doing a copy and paste to ensure no typos but not working. Fairly new to Linux server, have been playing around with Ubuntu 16.04 and CentOS 7 but have not had much luck with either.
My goal is to have a Linux Server setup in my home office and allow remote users to be able to access it to upload files, and eventualy have others access data files with tight restrictions, probably via FTP. PureFTP has worked very well but I need remote users to be able to access this server. What am I missing???
Thanks for your help!
Ps, also tried the guide from here:
But it appears to be missing some steps as it advises to do this: apt-get install openvpn nano /etc/openvpn/server.conf But there is no server.conf file!