Quick Links
Username: Password: Log me on automatically each visit
| Goto page 1, 2 Next View previous topic :: View next topic |
| Author | Message |
| AdelscottDD-WRT NoviceJoined: 29 Oct 2011Posts: 29 | Posted: Thu Jan 30, 2020 21:32 Post subject: R7800 good build with OpenVPN ? | | | Hi ! I was on some Kong build for 2 years (I guess). 4 days ago Cyberghost made a huge change in their vpn servers and I couldn't make it work with that old build. Can someone point me to a recent good build with OpenVPN working fine on R7800 ? Thanks | |
| Back to top | |
 |
| Sponsor |
 |
blktDD-WRT Guru Joined: 20 Jan 2019Posts: 6396 | Posted: Thu Jan 30, 2020 21:44 Post subject: | | | I'm still on r41813 but you may want to consider today's build if things pan out in the thread. | |
| Back to top | |
 |
| AdelscottDD-WRT NoviceJoined: 29 Oct 2011Posts: 29 | Posted: Thu Jan 30, 2020 22:03 Post subject: | | | Thanks, I already tried 2 builds, and I don't get why the OpenVPN status tab doesn't show anything, all I see is the labels | |
| Back to top | |
 |
blktDD-WRT Guru Joined: 20 Jan 2019Posts: 6396 | Posted: Thu Jan 30, 2020 22:10 Post subject: | | | OpenVPN server setup guide by egc Wireguard setup guide by egc HOW-TO: configure the OpenVPN client for AirVPN by SurprisedItWorks Policy Based Routing guide for DDWRT You may need to reconfigure from scratch after "nvram erase && reboot" from telnet or you can do a hard reset. Using a config from two years ago on a current build is pretty much guaranteed to create strange problems. | |
| Back to top | |
 |
| AdelscottDD-WRT NoviceJoined: 29 Oct 2011Posts: 29 | Posted: Thu Jan 30, 2020 22:56 Post subject: | | That screen drives me mad :  | |
| Back to top | |
 |
blktDD-WRT Guru Joined: 20 Jan 2019Posts: 6396 | Posted: Thu Jan 30, 2020 23:08 Post subject: | | | Have you reconfigured from scratch after hard reset or nvram erase? I edited my post above a few times. | |
| Back to top | |
 |
| AdelscottDD-WRT NoviceJoined: 29 Oct 2011Posts: 29 | Posted: Thu Jan 30, 2020 23:20 Post subject: | | I've seen that thanks, yes I did. In my previous build, when something was wrong with vpn client configuration, we could see the status in this page. Now it disappears after trying to connect I managed to connect to the VPN server (CyberGhost), I got a "Client : CONNECTED SUCCES", a "Local Address : X.X.X.X", no "Remote Address" (but I guess it's ok, as far as I remember it worked without one) But I can't browse anything and "TUN/TAP write bytes" is stuck at 0. Here's the ovpn file : | Code: | | client remote 87-1-se.cg-dialup.net 443 dev tun proto udp auth-user-pass resolv-retry infinite redirect-gateway def1 persist-key persist-tun nobind cipher AES-128-GCM ncp-ciphers AES-128-GCM:AES-128-CBC:AES-256-GCM:AES-256-CBC auth SHA256 ping 5 ping-exit 60 ping-timer-rem explicit-exit-notify 2 script-security 2 remote-cert-tls server route-delay 5 verb 4 ca ca.crt cert client.crt key client.key | and here's what I've configured : Last edited by Adelscott on Thu Jan 30, 2020 23:35; edited 1 time in total | |
| Back to top | |
 |
| bushantDD-WRT GuruJoined: 18 Nov 2015Posts: 2195 | Posted: Thu Jan 30, 2020 23:31 Post subject: | | | Show your ovpn setup page with sensitive information redacted. | |
| Back to top | |
 |
blktDD-WRT Guru Joined: 20 Jan 2019Posts: 6396 | Posted: Thu Jan 30, 2020 23:33 Post subject: | | | Are you trying to use a script or did you set it all up through the GUI? | |
| Back to top | |
 |
| AdelscottDD-WRT NoviceJoined: 29 Oct 2011Posts: 29 | Posted: Thu Jan 30, 2020 23:40 Post subject: | | | I updated my post, if you see something wrong. edit : I didn't use a script, but if there's a way to do this without GUI but only with ovpn file I'll take it :p edit2 : seems like a dns problem, I get a "could not resolve host" when I curl something from the router with telnetLast edited by Adelscott on Fri Jan 31, 2020 0:18; edited 2 times in total | |
| Back to top | |
 |
| bushantDD-WRT GuruJoined: 18 Nov 2015Posts: 2195 | Posted: Thu Jan 30, 2020 23:59 Post subject: | | | Are you using the instructions found here? https://support.cyberghostvpn.com/hc/en-us/articles/213811885-Router-How-to-configure-OpenVPN-for-flashed-DD-WRT-routers It seems not. | |
| Back to top | |
 |
| AdelscottDD-WRT NoviceJoined: 29 Oct 2011Posts: 29 | Posted: Fri Jan 31, 2020 0:08 Post subject: | | | bushant wrote: | | Are you using the instructions found here? https://support.cyberghostvpn.com/hc/en-us/articles/213811885-Router-How-to-configure-OpenVPN-for-flashed-DD-WRT-routers It seems not. | That instructions are not up to date, as I said they messed everything 4 days ago. The ovpn file in my previous post is the new one I got from them, and it works fine with openVPN GUI on my computer. | |
| Back to top | |
 |
| egcDD-WRT GuruJoined: 18 Mar 2014Posts: 13880Location: Netherlands | Posted: Fri Jan 31, 2020 11:24 Post subject: | | | Delete everything in the additional config (especially dev tun)_________________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 | |
| Back to top | |
 |
| AdelscottDD-WRT NoviceJoined: 29 Oct 2011Posts: 29 | Posted: Fri Jan 31, 2020 13:49 Post subject: | | | egc wrote: | | Delete everything in the additional config (especially dev tun) | I found last night what was blocking writing through the tunnel : "Compression : No". I switched it to Disabled and it worked. Today I followed your instructions and removed everything from additional config. Seems smoother, thanks. Added some tuning I had with previous build for better download speeds, seems to works as before : | Code: | | fast-io # (Experimental) Optimize TUN/TAP/UDP I/O writes by avoiding a call to poll/epoll/select #prior to the write operation. nice -20 # Set highest possible nice priority auth-nocache # Don't cache username/passwords in virtual memory | In previous build I had that : | Code: | | status /tmp/vpn-status status-version 2 | Maybe for a watchdog but I can't figure how or if I was using it. I have a script on my NAS that pings google dns each minute, and if doesn't get a response it ssh in the router and restarts openvpn client. I have to look into it | |
| Back to top | |
 |
| egcDD-WRT GuruJoined: 18 Mar 2014Posts: 13880Location: Netherlands | Posted: Fri Jan 31, 2020 14:46 Post subject: | | fast-io is already there by default so is redundant The cached credentials are used for reconnecting so do not use the auth-nocache directive for DDWRT --status [file] is used to send the operational status to the specified file ( in the format --status-version [x]) You normally specify the number of seconds so --status [file] [seconds] not sure what the default value is. Do not know if setting nice will get you any extra performance, doubt it will Indeed a "normal" watchdog script just pings and if unsuccessful restarts Openvpn (or reboots the router) See fourth post in this thread: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=321686_________________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 | |
| Back to top | |
 |
| Goto page 1, 2 Next | Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 Year Oldest FirstNewest First | Page 1 of 2 | |
Username: Password: Log me on automatically each visit Powered by phpBB © 2001, 2005 phpBB Group © 2022 EmbeDD GmbH