EDIT: Got it working with JFFS instead, I guess the USB/sdcard mounts to late.
I just set up a OpenVPN server on my RT-N66U running Shibby 085 AIO.
I noticed that having the keys pasted in the keys tab is eating almost all my nvram. I have 1.5% left.
So I decided to put links to the keys in Advanced/Custom Configuration instead.
The keys reside on an internal sd-card.
Like this.
ca /tmp/mnt/SDHC/ssl/server.ca.crt
cert /tmp/mnt/SDHC/ssl/server.crt
key /tmp/mnt/SDHC/ssl/server.key
dh /tmp/mnt/SDHC/ssl/server.pem
This works just great if I start the VPN server manually.
But after a router reboot the server will not be started automatically.
If I on the other hand have the keys pasted in the keys tab then the VPN server will be running after a router reboot.
I assume that some VPN startup script don't like the idea of finding the key tabs empty and then it stops.
Anyone know a way around this, like where and how I might edit that VPN startup script?
I just set up a OpenVPN server on my RT-N66U running Shibby 085 AIO.
I noticed that having the keys pasted in the keys tab is eating almost all my nvram. I have 1.5% left.
So I decided to put links to the keys in Advanced/Custom Configuration instead.
The keys reside on an internal sd-card.
Like this.
ca /tmp/mnt/SDHC/ssl/server.ca.crt
cert /tmp/mnt/SDHC/ssl/server.crt
key /tmp/mnt/SDHC/ssl/server.key
dh /tmp/mnt/SDHC/ssl/server.pem
This works just great if I start the VPN server manually.
But after a router reboot the server will not be started automatically.
If I on the other hand have the keys pasted in the keys tab then the VPN server will be running after a router reboot.
I assume that some VPN startup script don't like the idea of finding the key tabs empty and then it stops.
Anyone know a way around this, like where and how I might edit that VPN startup script?
Last edited: