[SOLVED]WRT54G with PrivadoVPN

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Goto page 1, 2  Next
Author Message
bkenobi69
DD-WRT Novice


Joined: 03 Feb 2015
Posts: 45

PostPosted: Wed Aug 30, 2023 17:40    Post subject: [SOLVED]WRT54G with PrivadoVPN Reply with quote
I am trying to test whether adding a VPN will help me with my ISP filtering just my work's VPN. I get 20-50mbps service typically, but my work machine is often seeing 600kbps speeds. It could be my work's VPN itself, but I tested elsewhere and it seemed fine so I'm pretty sure it's my ISP throttling just this VPN for some reason. Yes, VPN to block visibility of VPN seems dumb, but I need to test to see if I can make something work. If so, I will install on my main router and put this relic back in storage.

TL:DR; Is there a way to get ProvadoVPN to work on a WRT54G v2.2 at least to test speeds? This is a temporary setup so I only need it to work for testing. Alternately, I have a WRT54G v3.1 and a Buffalo WHR-G54S. I don't think my D-Link DIR-625 is compatible with DD-WRT but it's also an option.
Sponsor
bkenobi69
DD-WRT Novice


Joined: 03 Feb 2015
Posts: 45

PostPosted: Wed Aug 30, 2023 18:09    Post subject: Reply with quote
I also have a Cradlepoint E300/E350 router. I can't imagine that would be compatible with DD-WRT but I might be able to test the VPN and, if all goes well, install the VPN on my main DD-WRT router.
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6818
Location: Romerike, Norway

PostPosted: Wed Aug 30, 2023 19:16    Post subject: Reply with quote
A WRT54G is not capable of running a VPN. The Flash Chip is to small for the Firmware and the Slow processor will not do any throughput larger than a Megabit or two.
bkenobi69
DD-WRT Novice


Joined: 03 Feb 2015
Posts: 45

PostPosted: Wed Aug 30, 2023 20:19    Post subject: Reply with quote
Fair enough. The Buffalo appears to have either 4 or 8mb of memory but it's got a similar processor so I'd imagine it would not be capable either. I'll look at the Cradlepoint router to see if I can test with that. If it works, I may just switch over to that since it might actually be a better overall setup than what I'm currently running (Nighthawk M1 as hotspot modem and Nighthawk R7800 with DD-WRT as wireless router).
bkenobi69
DD-WRT Novice


Joined: 03 Feb 2015
Posts: 45

PostPosted: Fri Sep 08, 2023 22:33    Post subject: Reply with quote
I've done a bit more research and tried some new things. It appears that my Cradlepoint router does not allow me to set up a VPN client such as Privado VPN. I may use it as my main hotspot down the road, but for now it will just go back into the box. I see that none of my existing routers in my backup box are capable either. I stopped by BestBuy and picked up a RAX10 which was the cheapest one that claimed VPN client capability and, although it does seem to have VPN, it is limited to only using PureVPN. Since they have no trial option worth considering, I'm going to have to look again for a different router. That store only had 3 routers that listed VPN as an option out of the box (2 Netgear, 1 TP-Link). I suppose I could always flash DD-WRT onto it if supported but wanted to confirm this as a solution prior to modifying firmware in case it doesn't resolve my throughput issues.
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 13903
Location: Texas, USA

PostPosted: Fri Sep 08, 2023 23:07    Post subject: Reply with quote
It's not difficult to find the information on your older devices:

https://wikidevi.wi-cat.ru/Buffalo_WHR-G54S

https://wikidevi.wi-cat.ru/Linksys_WRT54G_v2.2

https://wikidevi.wi-cat.ru/Linksys_WRT54G_v3.1

Your DIR-625 is definitely not compatible with DD-WRT:

https://wikidevi.wi-cat.ru/D-Link_DIR-625_rev_A1

https://wiki.dd-wrt.com/wiki/index.php/Known_incompatible_devices

Your R7800 should work with your VPN provider, the CradlePoint device is not nor will ever be supported by DD-WRT, but it supports both IPSEC VPN and OpenVPN. Let's dance around taking the plunge that might require a hard reset, shall we? Rolling Eyes

https://support.privadovpn.com/kb/article/367-dd-wrt-router-openvpn-manual-setup/

https://duckduckgo.com/?q=cradlepoint+e300+openvpn

https://customer.cradlepoint.com/s/article/NCOS-OpenVPN-Bridged-Client-Server-Configuration

https://customer.cradlepoint.com/s/article/Configure-Cradlepoint-as-a-Routed-OpenVPN-Client

https://customer.cradlepoint.com/s/article/Series-3-OpenVPN-Client-Server-Configuration (probably not relevant, but what the heck)

https://customer.cradlepoint.com/s/article/NCOS-IPSec-Tunnel-Configuration

https://customer.cradlepoint.com/s/article/Manual-Internet-VPN

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Gameman Advanced Kid
DD-WRT Guru


Joined: 18 Nov 2012
Posts: 1152

PostPosted: Sat Sep 09, 2023 11:44    Post subject: Reply with quote
Might want to also look into the list of devices that dd-wrt supports so far.

https://wiki.dd-wrt.com/wiki/index.php/Supported_Devices

_________________
For people who are new to the dd-wrt forums >> http://www.catb.org/~esr/faqs/smart-questions.html#rtfm

barryware wrote:
It takes a "community" to raise a router..


Internet Connection 1
Some Techicolor modem > Linksys WRT3200ACM

Internet connection 2
Ubiquiti Powerbeam Gen 2 > Netgear R9000

Official (but not really) dd-wrt General Discussion element/matrix chat

https://matrix.to/#/#dd-wrt-private-non-offical:matrix.org
bkenobi69
DD-WRT Novice


Joined: 03 Feb 2015
Posts: 45

PostPosted: Sun Sep 10, 2023 4:21    Post subject: Reply with quote
Thanks for the links. Yes, I had reviewed the info for my different router options from my box of routers. It appeared they might work but after reviewing again they do not support openVPN so are not options. Cradlepoint is not Broadcom based, so I wasn't suggesting it might be able to work with DD-WRT firmware. And as it turns out, they have some posts from tech support on their "forum" equivalent that states that although openVPN is available, it can only be used as a server to allow other systems to connect to it. They have no intention of adding an openVPN client, so it won't work.

I stopped by my local Walmart since I remembered they used to sell Netgear and Linksys. Turns out, they had a few R7450 and a couple R6850 on clearance. They wouldn't sell the R7450 unfortunately, but I did pick up a R6850 and have it flashed with DD-WRT from yesterday's daily release. I configured it to as close as possible to what Privado recommends, but it doesn't quite work.

https://support.privadovpn.com/kb/article/367-dd-wrt-router-openvpn-manual-setup/

I'll look again in case I missed something. There are more options available on current DD-WRT so perhaps I need to roll back to an older version to confirm throughput limitations.
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1638

PostPosted: Mon Sep 11, 2023 3:08    Post subject: Reply with quote
More than likely you should review the generic guides in the Advanced Networking forum to see what may no longer be required in current releases of OpenVPN and DD-WRT. It is not DD-WRT's fault that Privado does not update their guide.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12499
Location: Netherlands

PostPosted: Mon Sep 11, 2023 6:28    Post subject: Reply with quote
Do not use old versions they can have security issues.

Use the latest e.g. 53445.

Like already said see the docs at: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=327398

You need the client setup guide.

IF it does not work, post a screenshot of your OVPN settings page, your basic setup page and post your syslog, either screenshot but better: grep -i openvpn /var/log/messages


Moved this thread to the Advanced networking forum

_________________
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
bkenobi69
DD-WRT Novice


Joined: 03 Feb 2015
Posts: 45

PostPosted: Mon Sep 11, 2023 23:06    Post subject: Reply with quote
I didn't mean to suggest that dd-WRT had a flaw in documentation or implementation in case that's how it came across. I was just saying that after implementing the settings that Privado VPN had posted regarding dd-WRT settings, I was not able to connect with a secure IP address.

I have reread the guide and found one setting I missed and now am getting a little closer. The VPN does not establish a connection, but it does give an error which should be helpful to diagnose (hopefully).

I would provide the details from /var/log/messages but the ssh option in router management is disabled for some reason. The syslog shows the following errors (clipped before error to minimize length but can provide whole log if helpful).

Code:

Dec 31 16:00:30 DD-WRT daemon.info dnsmasq[1639]: started, version 2.89 cachesize 1500
Dec 31 16:00:30 DD-WRT daemon.info dnsmasq[1639]: compile time options: IPv6 GNU-getopt no-DBus no-UBus no-i18n no-IDN DHCP DHCPv6 no-Lua no-TFTP no-conntrack ipset no-nftset no-auth cryptohash DNSSEC loop-detect inotify no-dumpfile
Dec 31 16:00:30 DD-WRT daemon.info dnsmasq-dhcp[1639]: DHCP, IP range 192.168.1.50 -- 192.168.1.239, lease time 1d
Dec 31 16:00:30 DD-WRT daemon.info dnsmasq[1639]: using only locally-known addresses for test
Dec 31 16:00:30 DD-WRT daemon.info dnsmasq[1639]: using only locally-known addresses for onion
Dec 31 16:00:30 DD-WRT daemon.info dnsmasq[1639]: using only locally-known addresses for localhost
Dec 31 16:00:30 DD-WRT daemon.info dnsmasq[1639]: using only locally-known addresses for local
Dec 31 16:00:30 DD-WRT user.info : [dnsmasq] : successfully started
Dec 31 16:00:30 DD-WRT daemon.info dnsmasq[1639]: using only locally-known addresses for invalid
Dec 31 16:00:30 DD-WRT daemon.info dnsmasq[1639]: using only locally-known addresses for bind
Dec 31 16:00:30 DD-WRT daemon.warn dnsmasq[1639]: no servers found in /tmp/resolv.dnsmasq, will retry
Dec 31 16:00:30 DD-WRT daemon.info dnsmasq[1639]: read /etc/hosts - 2 names
Dec 31 16:00:30 DD-WRT daemon.err openvpn[1612]: Options error: Unrecognized option or missing or extra parameter(s) in /tmp/openvpncl/openvpn.conf:26: keysize (2.6.6)
Dec 31 16:00:30 DD-WRT daemon.warn openvpn[1612]: Use --help for more information.
Dec 31 16:00:30 DD-WRT user.info : [openvpn] : Error on startup, returncode 1
Dec 31 16:00:31 DD-WRT user.info : [sfe] : shortcut forwarding engine successfully started
Dec 31 16:00:31 DD-WRT daemon.info httpd[1701]: [httpd] : httpd server started at port 80
Dec 31 16:00:31 DD-WRT user.info : [httpd] : successfully started
Dec 31 16:00:32 DD-WRT user.info : [sfe] : shortcut forwarding engine successfully started
Dec 31 16:00:32 DD-WRT user.info : [udhcpc] : successfully started
Dec 31 16:00:32 DD-WRT user.info : [ttraff] : successfully started
Dec 31 16:00:32 DD-WRT daemon.info httpd[1762]: [httpd] : httpd server shutdown
Dec 31 16:00:32 DD-WRT user.info : [httpd] : daemon successfully stopped
Dec 31 16:00:32 DD-WRT daemon.info httpd[1820]: [httpd] : httpd server started at port 80
Dec 31 16:00:32 DD-WRT user.info : [httpd] : successfully started
Dec 31 16:00:32 DD-WRT user.info : [resetbutton] : daemon successfully stopped
Dec 31 16:00:32 DD-WRT user.info : [resetbutton] : successfully started
Dec 31 16:00:33 DD-WRT user.info : [sfe] : shortcut forwarding engine successfully stopped
Dec 31 16:00:33 DD-WRT user.info : [sfe] : shortcut forwarding engine successfully started
Dec 31 16:00:34 DD-WRT user.info : [wland] : Error on startup, returncode 2
Dec 31 16:00:34 DD-WRT user.info : [wan] : WAN is up. IP: 192.168.0.125
Dec 31 16:00:34 DD-WRT daemon.info dnsmasq[1639]: exiting on receipt of SIGTERM
Dec 31 16:00:34 DD-WRT user.info : [dnsmasq] : daemon successfully stopped
Dec 31 16:00:34 DD-WRT daemon.info dnsmasq[2060]: started, version 2.89 cachesize 1500
Dec 31 16:00:34 DD-WRT daemon.info dnsmasq[2060]: compile time options: IPv6 GNU-getopt no-DBus no-UBus no-i18n no-IDN DHCP DHCPv6 no-Lua no-TFTP no-conntrack ipset no-nftset no-auth cryptohash DNSSEC loop-detect inotify no-dumpfile
Dec 31 16:00:34 DD-WRT daemon.info dnsmasq-dhcp[2060]: DHCP, IP range 192.168.1.50 -- 192.168.1.239, lease time 1d
Dec 31 16:00:34 DD-WRT daemon.info dnsmasq[2060]: using only locally-known addresses for test
Dec 31 16:00:34 DD-WRT daemon.info dnsmasq[2060]: using only locally-known addresses for onion
Dec 31 16:00:34 DD-WRT daemon.info dnsmasq[2060]: using only locally-known addresses for localhost
Dec 31 16:00:34 DD-WRT daemon.info dnsmasq[2060]: using only locally-known addresses for local
Dec 31 16:00:34 DD-WRT daemon.info dnsmasq[2060]: using only locally-known addresses for invalid
Dec 31 16:00:34 DD-WRT user.info : [dnsmasq] : successfully started
Dec 31 16:00:34 DD-WRT daemon.info dnsmasq[2060]: using only locally-known addresses for bind
Dec 31 16:00:34 DD-WRT daemon.warn dnsmasq[2060]: no servers found in /tmp/resolv.dnsmasq, will retry
Dec 31 16:00:34 DD-WRT daemon.info dnsmasq[2060]: read /etc/hosts - 2 names
Dec 31 16:00:34 DD-WRT user.info : [openvpn] : OpenVPN daemon (Client) starting/restarting...
Dec 31 16:00:34 DD-WRT daemon.err openvpn[2063]: Options error: Unrecognized option or missing or extra parameter(s) in /tmp/openvpncl/openvpn.conf:26: keysize (2.6.6)
Dec 31 16:00:34 DD-WRT daemon.warn openvpn[2063]: Use --help for more information.
Dec 31 16:00:34 DD-WRT user.info : [openvpn] : Error on startup, returncode 1
Dec 31 16:00:34 DD-WRT user.info : [sfe] : shortcut forwarding engine successfully stopped
Dec 31 16:00:35 DD-WRT user.info : [vpn modules] : vpn modules successfully unloaded
Dec 31 16:00:35 DD-WRT user.info : [vpn modules] : nf_conntrack_proto_gre successfully loaded
Dec 31 16:00:35 DD-WRT user.info : [vpn modules] : nf_nat_proto_gre successfully loaded
Dec 31 16:00:35 DD-WRT user.info : [vpn modules] : nf_conntrack_pptp successfully loaded
Dec 31 16:00:35 DD-WRT user.info : [vpn modules] : nf_nat_pptp successfully loaded
Dec 31 16:00:36 DD-WRT user.info : [sfe] : shortcut forwarding engine successfully started
Dec 31 16:00:36 DD-WRT user.info : [sfe] : shortcut forwarding engine successfully started
Dec 31 16:00:36 DD-WRT user.info : [process_monitor] : successfully started
Dec 31 16:00:42 DD-WRT daemon.err ntpclient[2279]: Failed resolving address to hostname us.pool.ntp.org: Try again
Dec 31 16:00:42 DD-WRT daemon.err ntpclient[2279]: Failed resolving server us.pool.ntp.org: Network is down
Dec 31 16:00:42 DD-WRT daemon.err process_monitor[2278]: cyclic NTP Update failed (servers us.pool.ntp.org)
Dec 31 16:00:42 DD-WRT daemon.err process_monitor[2278]: Last update failed, we need to re-update after 30 seconds
Dec 31 16:00:42 DD-WRT daemon.debug process_monitor[2278]: We need to re-update after 3600 seconds
Dec 31 16:00:42 DD-WRT daemon.info process_monitor[2278]: [process_monitor] : set timer: 3600 seconds, callback: ntp_main()
Dec 31 16:00:59 DD-WRT daemon.info httpd[1827]: [httpd] : Authentication fail
Dec 31 16:01:17 DD-WRT daemon.err ntpclient[2321]: Failed resolving address to hostname us.pool.ntp.org: Try again
Dec 31 16:01:17 DD-WRT daemon.err ntpclient[2321]: Failed resolving server us.pool.ntp.org: Network is down
Dec 31 16:01:17 DD-WRT daemon.err process_monitor[2278]: cyclic NTP Update failed (servers us.pool.ntp.org)
Dec 31 16:01:52 DD-WRT daemon.err ntpclient[2363]: Failed resolving address to hostname us.pool.ntp.org: Try again
Dec 31 16:01:52 DD-WRT daemon.err ntpclient[2363]: Failed resolving server us.pool.ntp.org: Network is down


It looks to me as though the settings are wrong (as expected).
bushant
DD-WRT Guru


Joined: 18 Nov 2015
Posts: 1965

PostPosted: Mon Sep 11, 2023 23:52    Post subject: Reply with quote
Are you able to connect to the internet?

It appears your Date/Time is not set on your router.

If that is the case try setting your time zone and leave the server/IP blank to use DD-WRT default.

Or use IP such as 216.239.35.4 (time.google.com)

OVPN cannot start if time is wrong.

Are you saying you cannot enable ssh on Services Services page?

As I recall Telnet is enabled by default, uname is always root. PW is the one you set.

_________________
Forum Guide Lines (with helpful pointers about how to research your router, where and what firmware to download, where and how to post and many other helpful tips!)
How to get help the right way

Before asking for help - Read the forum guidelines AND Upgrade DD-WRT!
bkenobi69
DD-WRT Novice


Joined: 03 Feb 2015
Posts: 45

PostPosted: Tue Sep 12, 2023 4:23    Post subject: Reply with quote
When I enable OVPN I have no internet access. I assumed that was why the time server was not working but perhaps it's the other way around.

The attached image shows my remote access options which includes telnet on by default but ssh is grayed out. I was able to connect to the router via telnet once I remembered to switch putty to telnet instead of ssh. I can share the whole log if that would help.
bkenobi69
DD-WRT Novice


Joined: 03 Feb 2015
Posts: 45

PostPosted: Tue Sep 12, 2023 4:39    Post subject: Reply with quote
I just noticed I hadn't turned on the ssh daemon so obviously I wouldn't be able to turn on ssh management. Once I turned that on, I can connect via ssh as expected.
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6818
Location: Romerike, Norway

PostPosted: Tue Sep 12, 2023 5:24    Post subject: Reply with quote
Turn off everything under "Remote Management". You don't want anyone on the Internet to manage your router.
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking 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 cannot attach files in this forum
You cannot download files in this forum