Future builds need an easy way to just load a .ovpn config file and it automatically runs and connects just like Openvpn does. No more need to do all that tedious copying and pasting. Hope to see it. Thanks.
Joined: 16 Nov 2015 Posts: 6447 Location: UK, London, just across the river..
Posted: Mon Apr 25, 2022 9:46 Post subject:
hmm i guess you can do that and have your config at USB and point to it via start up commands...but....if there are any changes and with default advanced VPN rules, it could get messy...so i do like the idea to use GUI and do the tedious copy pasting instead... _________________ Atheros
TP-Link WR740Nv1 ---DD-WRT 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55819 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
I only suggest this because I can't get the vpn in open vpn client to connect at all no matter what I do. I've read the guides and copy and paste all the appropriate info where it needs to be, but nothing. I got it to generate a log once in the status area. It's always blank now though.
Wish I could find a nice organized how to on what you mentioned about the usb drive and a command pointing to it. Or nice organized how to's on anything, really. So difficult to search and find these things.
Joined: 18 Mar 2014 Posts: 12917 Location: Netherlands
Posted: Mon Apr 25, 2022 12:27 Post subject: Re: Vpn
mng519 wrote:
I only suggest this because I can't get the vpn in open vpn client to connect at all no matter what I do. I've read the guides and copy and paste all the appropriate info where it needs to be, but nothing. I got it to generate a log once in the status area. It's always blank now though.
Wish I could find a nice organized how to on what you mentioned about the usb drive and a command pointing to it. Or nice organized how to's on anything, really. So difficult to search and find these things.
Thanks for the reply. Only thing is, I can't get it to generate a log anymore though. I don't have any info to post. Is that the info you are referring to?
The .ovpn I have works though. In Openvpn for windows. I can load it and connect no problem through that. I want to do it on the router though, so all devices can have the vpn.
Joined: 18 Mar 2014 Posts: 12917 Location: Netherlands
Posted: Mon Apr 25, 2022 12:58 Post subject:
We need to know router model, build number and network setup to start with
What VPN provider or server you are wanting to setup to, what instructions you followed.
If you have an .ovpn config file post the contents
A screenshot of your OpenVPN settings page and especially the content of the Additional config (as that is what is causing the most problems)
A screenshot of the OpenVPN status page
Output of (assuming syslog is enabled):
Thank you for your reply egc. I never put anything in the additional config area. Don't know of any additional config.
Here is the contents of the .ovpn file that works no problem in OpenVpn.
script-security 2
#Connection Settings
client
dev tun
proto udp
nobind
persist-key
Here's a screenshot of settings in dd-wrt and router model, build number, openvpn status. Like I said, status is blank all the time now. No info. Not sure which guide I followed. It was info saying where to paste the different keys and certs and settings from the .ovpn config file. Hopefully this helps. Thanks.
Joined: 18 Mar 2014 Posts: 12917 Location: Netherlands
Posted: Mon Apr 25, 2022 15:05 Post subject:
Settings below should work, the CA cert has a dual key you need to paste both keys so from the -----BEGIN CERTIFICATE----- of the first key until and including the -----END CERTIFICATE----- of the second key.
The client certificate only the Certificate as described in my previous post
Here's the latest screenshot. Maybe it's because I didn't erase nvram before I flashed to dd-wrt from factory. That's when you set the factory stock firmware back to defaults, right? Could that cause the bugs I'm experiencing? How can I back track and correctly flash if that is what the problem is? Thanks.
Thanks egc. It stayed in AUTH forever. I rebooted, then the status was blank again. It's either stuck in AUTH or it shows nothing. Not sure why the config works no problem in the OpenVPN GUI, but not at all in dd-wrt. That's why I was suggesting there be a way for dd-wrt to just load the file the way OpenVPN GUI does. Oh well, guess it won't ever work.
Also, I don't know where to put that grep command. I tried in cmd and it said it was not a recognized command.