History:
OpenWrt was upgraded from 15.05 chaos calmer.
I managed to restore all things back to work. I had some problems with switch and PPTP pathrthough, but by some digging into internet and forums I solved them.
Now I want to setup OpenVPN server, but ran into problems.
Now I have:
OpenWrt 18.06.4, r7808-ef686b7292 on Linksys WRT 1200 AV v2
uname -r
4.14.131
I have installed:
libopenssl 1.0.2s-1
openssl-util 1.0.2s-1
openvpn-openssl 2.4.5-4.2
luci-app-openvpn git-19.190.55614-35357e4-1
openvpn-easy-rsa 3.0.4-1
openvpn-openssl 2.4.5-4.2
And the problem is that easy-rsa scripts fails with:
root@router:/# easyrsa --batch init-pki
/usr/bin/easyrsa: /etc/easy-rsa/vars: line 29: /usr/sbin/whichopensslcnf: not found
NOTE: If you run ./clean-all, I will be doing a rm -rf on /etc/easy-rsa/keys
I checked for whichopens... with:
find . -name "whichopen*"
but nothing was found :-/
So what could be wrong?
Are there some settings or dependecies are missing?
Yup. On a remote proxy I have, where I also installed openvpn for a friend living abroad, I wrote a memo to myself saying: "current version of openvpn-easy-rsa has completely changed directory layout, thus recreating config from scratch and carrying over keyfiles as needed". That was in feb.2018 and the "new" version was 3.0.1 (still on a GLi 15.05-based firmware).