I’ve updated my OpenWrt router to the Trunk version (
Barrier Breaker). I made a backup of the configuration before installing the new firmware. After rebooting the router openvpn stopped working. It turned out to be that only registered files are begin backed up (don’t know this for sure). I should’ve know this because when I upgraded to
Attitude Adjustment the same happened.
Because only registered files are begin backed up the generated keys and certificates were lost.
I did the following to install openvpn and quickly fix the missing files:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
opkg install openvpn-easy-rsa openvpn-openssl --force-depends /etc/init.d/openvpn enable cd /etc/easy-rsa/keys/ clean-all build-ca build-dh build-key-server router.vanutsteen.nl # Create a certificate revocation list openssl ca -keyfile ca.key -cert ca.crt -gencrl -out crl.pem # copy this cert to the client build-key-pkcs12 polly.vanutsteen.nl /etc/init.d/openvpn restart
I also rebooted my router just to be sure…