Posted: Fri Jun 19, 2020 5:14 Post subject: OpenVPN Server not working after upgrade
I was not sure where to post it as this problem touches different areas.
I have D-Link DIR-825. Previously I've been using r29440 and attempted to upgrade ending up with not working vpn server. Today I made an attempt again hoping for vpn server to work but it did not. I have r43443 right now.
I headed up to the logs:
Code:
Jan 1 01:00:09 DD-WRT daemon.notice openvpn[861]: Options error: --client-config-dir fails with '/jffs/etc/openvpn/ccd': No such file or directory (errno=2)
Jan 1 01:00:09 DD-WRT daemon.err openvpn[861]: Options error: Please correct these errors.
Jan 1 01:00:09 DD-WRT daemon.warn openvpn[861]: Use --help for more information.
Jan 1 01:00:10 DD-WRT user.info : vpn modules : vpn modules successfully unloaded
So I started searching and discovered that JFFS2 support has been removed? I'm not sure... why? Looks like it is not the only missing option.
It seems to still be acting like JFFS2 is present and mounted as /jffs.
I even tried to create a pendrive and mount it as /jffs and apply settings again hoping for them to be saved in /jffs, as previously, but no, that's not a case.
I tried to find some solution on my own but was unable to, so I want to ask you for a help - what can I do to make OpenVPN server working? Then what can I do to store settings, like certificates, in /jffs (USB drive). I want to add OpenVPN client as well and I'm afraid that I might not fit everything into nvram anymore.
Yes, I have USB, and as I mentioned, I tried to use an USB stick. It got mounted as /jffs but that did not change anything related to the problem, nor DD-WRT seems to see it as JFFS storage.
So far I'm able to fit everything in the NVRAM, but I'm going to use OpenVPN as a client as well (not sure about certificate keysizes yet), then I should work around setting a static IP binds with DHCP, etc, so in summary I would rather try to make /jffs working.
I did not reset to the defaults as settings should be carry over. Looks like it does not work when some functionality is being removed. Going back and disabling JFFS2 support looks like an option. Actually it might work and carry all the settings over to a new version. I;d rather avoid setting up everything from scratch, thus this topic. If I will have to, I'll go back and try to write down all the settings, but that's kind of an effort to set everything by hand again. But yes, it is an option.
I will also take a look at those links, thank you.