OpenVPN Interface bug ?

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Advanced Networking
Author Message
DD-WRT Novice

Joined: 13 May 2011
Posts: 11

PostPosted: Sun May 15, 2011 2:14    Post subject: OpenVPN Interface bug ? Reply with quote

I'm trying to use OpenVPN daemon (WAN Up/config file), but something is not working with the webUI.

I can't save my whole configuration as 'CA cert' clean up itself after few textbox filled.

I didn't test every single possibilities but with :
CA + PSC + DH PEM + AC + TLSAuth
CA + PSC + AC + TLSAuth + DH PEM
CA + PSC + AC + TLSAuth + PSK

...CA content disappear

I saved all my configuration except CA Cert. Using SSH, I built ca.crt and launched OpenVPN (still with SSH), it worked.

So the only issue here is I can't have OpenVPN working without having a SSH session with manual fill and launch. At every launch CA Cert is empty so OpenVPN can't start automaticaly.

Is this a bug ?
Should I wait the next version or is there something to do ?


Joined: 10 Oct 2006
Posts: 10143

PostPosted: Sun May 15, 2011 5:31    Post subject: Reply with quote
You left out the most basic info of what build you're using. Sash has been doing lots of work on OpenVPN for the past half year or so and pretty much every build has had changes.
Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
DD-WRT Novice

Joined: 13 May 2011
Posts: 11

PostPosted: Sun May 15, 2011 12:13    Post subject: Reply with quote
oops Embarassed

I'm using the 'dd-wrt.v24-16994_NEWD-2_K2.6_openvpn' and I also try with the previous one 'dd-wrt.v24-16785_NEWD-2_K2.6_openvpn' but same behaviour/results.

Joined: 01 Jan 1970

PostPosted: Sat Jan 12, 2013 17:08    Post subject: Reply with quote
Yup, I got the same problem.

version => DD-WRT v24-sp2 (08/07/10) vpn (SVN revision 14896)
gui style => elegant

After filling out all the required fields and applying, the CA cert field is cleared. Then I go to /tmp/openvpn, and the ca.crt file is missing.

About the skin ("gui style"):

Some might find it silly that I have mentioned the skin I use. It's actually important, because some skins break functionality, and fail to show information or buttons.

I found the problem. NVRAM seems to be very tight on space, and when you blow the limit, CA Cert fails to get set. Very tricky to solve. I only got the idea upon discovering this unrelated [url=""]script to compress firewall scripts[/url]. I removed some bulky unneeded nvram variables, and removed all comments from the openvpn script to conserve space. Now the "CA Cert" field saves.

This nvram problem must really drive people nuts in various situations because no meaningful error is given to GUI users. How would they know?

Joined: 20 Sep 2006
Posts: 17638
Location: Hesse/Germany

PostPosted: Thu Jan 24, 2013 13:30    Post subject: Reply with quote
upgrade 1st
Forum Guidelines...How to get help
Forum Rules
Throw some buzzwords into the WIKI search Exclamation
I'm NOT rude, just offer pure facts!
Atheros (TP-Link & Clones, etc ) debrick service in EU
Guide on HowTo be Safe, Secure and Protect Your Online Anonymity!
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Advanced Networking All times are GMT


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 cannot attach files in this forum
You cannot download files in this forum