VPN Client / CA Cert after reboot lost

Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions
Author Message
ymurawski
DD-WRT Novice


Joined: 30 Jan 2018
Posts: 20

PostPosted: Tue Jan 28, 2020 18:33    Post subject: VPN Client / CA Cert after reboot lost Reply with quote
Hi guys,

i have a Netgear XR700 with v3.0-r42132 DDWRT.

I'm using OpenVPN Client for several month without any problems.
Since 2 weeks i have many problems with it.

When i restart my Router, it does not connect to the VPN automatically. I always has to delete anything in the CA Cert field - click save and then reenter the key again.

Then the VPN is connection normaly until next reboot.

I already tried reset with telnet nvram erase....but still the same.
My dad has the same setup without any problems.

Is there a possibility to safe the ca certification via Command at startup ?

in Syslog comes:
openvpn[1462]: Options error: You must define CA file (--ca) or CA path (--capath)

I already searched for this but i didnt find any solution that worked Sad

Thanks alot Smile
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12884
Location: Netherlands

PostPosted: Tue Jan 28, 2020 20:55    Post subject: Reply with quote
Can you post a screenshot of OVPN settings page?

What is the nvram used / free ( See Status/router page)

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
ymurawski
DD-WRT Novice


Joined: 30 Jan 2018
Posts: 20

PostPosted: Tue Jan 28, 2020 21:42    Post subject: pics Reply with quote
Here are the screenshots Smile


Bildschirmfoto 2020-01-28 um 22.29.37.png
 Description:
3
 Filesize:  385.21 KB
 Viewed:  2178 Time(s)

Bildschirmfoto 2020-01-28 um 22.29.37.png



Bildschirmfoto 2020-01-28 um 22.29.32.png
 Description:
2
 Filesize:  158.13 KB
 Viewed:  2178 Time(s)

Bildschirmfoto 2020-01-28 um 22.29.32.png



Bildschirmfoto 2020-01-28 um 22.28.58.png
 Description:
1
 Filesize:  137.58 KB
 Viewed:  2178 Time(s)

Bildschirmfoto 2020-01-28 um 22.28.58.png


ymurawski
DD-WRT Novice


Joined: 30 Jan 2018
Posts: 20

PostPosted: Tue Jan 28, 2020 21:42    Post subject: pics2 Reply with quote
more Screenshots


Bildschirmfoto 2020-01-28 um 22.34.59.png
 Description:
5
 Filesize:  34.68 KB
 Viewed:  2176 Time(s)

Bildschirmfoto 2020-01-28 um 22.34.59.png



Bildschirmfoto 2020-01-28 um 22.30.01.png
 Description:
4
 Filesize:  136.5 KB
 Viewed:  2176 Time(s)

Bildschirmfoto 2020-01-28 um 22.30.01.png


egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12884
Location: Netherlands

PostPosted: Wed Jan 29, 2020 8:48    Post subject: Reply with quote
Hmm I was hoping you ran out of nvram somehow, because that is what I have seen happening, but that does not appear to be the case

One thing that can be related is that you use
Code:
auth-nocache
that is not recommended for DDWRT.
DDWR uses cached credentials to reconnect on disconnection, so delete it.

There is much work done on startup sequence in the latest builds, so I think it could also be build related, either go back to i.e. 41813 or wait for a new build.

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
ymurawski
DD-WRT Novice


Joined: 30 Jan 2018
Posts: 20

PostPosted: Wed Jan 29, 2020 9:20    Post subject: Reply with quote
ok i will test this now.


for now reboots works...lets see if the keep alive auto reboot works also this night.
i will write tomorrow.

Thanks alot
foz111
DD-WRT Guru


Joined: 01 Oct 2017
Posts: 707
Location: Earth

PostPosted: Wed Jan 29, 2020 9:37    Post subject: Reply with quote
i recommend you log in with sftp and look at the files in /tmp/openvpncl (on Kong build assume BS same location) just in case something has corrupted them. the openvpn.conf should be very similar the the downloaded ovpn file. (check for any duplicates.
do what as egc has recommended above and also you could try un-ticking the radio tls button and adding "remote-cert-tls server" in additional config, you shouldn't need to but maybe worth a try as everything looks fine.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum