Saving certificates, keys files to router
Posted: Wed Oct 12, 2016 3:51 am
After much effort, I finally got a working configuration of OpenVPN on my Netgear DG834G router with the custom DGTeam firmware. Long story short, I copied the ca.crt, router.crt, router.key and dh1024.pem files to a writeable directory on the router (/etc), tweaked the openvpn.conf file to reference these files, added some custom ifconfig commands for the tun0 interface and was able to get a working OpenVPN configuration. However these certificate and key files do not survive a router reboot as they are not written to the nvram (???). The router runs an older version of busybox (1.16). Does anyone know how to save these files so they will survive a router reboot? I have tried using the unified format of the configuration file in order to store the certificate and key files in the openvpn.conf file, but apparently the unified format is only for clients, not server (???). Any help is greatly appreciated....
Thx
Thx