View Topic - R7800 Good Build With OpenVPN - DD-WRT Forum

  • Professional
  • Support
  • Community
  • Contact
  • Imprint
  • Privacy Policy
  • Forum
  • Wiki
  • Donations
  • Bugtracker
  • Imprint
  • Privacy Policy
  • DD-WRT
  • Community
  • Contact
  • Donations
  • Forum
  • Wiki
  • Bugtracker
  • Imprint
  • Privacy Policy
Quick Links Log in Profile View unanswered posts

Log in

Username: Password: Log me on automatically each visit

R7800 good build with OpenVPN ?

Post new topic Reply to topic DD-WRT Forum Index -> Qualcomm Atheros based Hardware
Goto page 1, 2 Next View previous topic :: View next topic
Author Message
AdelscottDD-WRT NoviceJoined: 29 Oct 2011Posts: 29
PostPosted: Thu Jan 30, 2020 21:32 Post subject: R7800 good build with OpenVPN ? Reply with quote
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 View user's profile Send private message
Sponsor
blktDD-WRT GuruJoined: 20 Jan 2019Posts: 6396
PostPosted: Thu Jan 30, 2020 21:44 Post subject: Reply with quote
I'm still on r41813 but you may want to consider today's build if things pan out in the thread.
Back to top View user's profile Send private message
AdelscottDD-WRT NoviceJoined: 29 Oct 2011Posts: 29
PostPosted: Thu Jan 30, 2020 22:03 Post subject: Reply with quote
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 View user's profile Send private message
blktDD-WRT GuruJoined: 20 Jan 2019Posts: 6396
PostPosted: Thu Jan 30, 2020 22:10 Post subject: Reply with quote
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 View user's profile Send private message
AdelscottDD-WRT NoviceJoined: 29 Oct 2011Posts: 29
PostPosted: Thu Jan 30, 2020 22:56 Post subject: Reply with quote
That screen drives me mad :
Back to top View user's profile Send private message
blktDD-WRT GuruJoined: 20 Jan 2019Posts: 6396
PostPosted: Thu Jan 30, 2020 23:08 Post subject: Reply with quote
Have you reconfigured from scratch after hard reset or nvram erase? I edited my post above a few times.
Back to top View user's profile Send private message
AdelscottDD-WRT NoviceJoined: 29 Oct 2011Posts: 29
PostPosted: Thu Jan 30, 2020 23:20 Post subject: Reply with quote
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 Sad 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 View user's profile Send private message
bushantDD-WRT GuruJoined: 18 Nov 2015Posts: 2195
PostPosted: Thu Jan 30, 2020 23:31 Post subject: Reply with quote
Show your ovpn setup page with sensitive information redacted.
Back to top View user's profile Send private message Visit poster's website
blktDD-WRT GuruJoined: 20 Jan 2019Posts: 6396
PostPosted: Thu Jan 30, 2020 23:33 Post subject: Reply with quote
Are you trying to use a script or did you set it all up through the GUI?
Back to top View user's profile Send private message
AdelscottDD-WRT NoviceJoined: 29 Oct 2011Posts: 29
PostPosted: Thu Jan 30, 2020 23:40 Post subject: Reply with quote
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 View user's profile Send private message
bushantDD-WRT GuruJoined: 18 Nov 2015Posts: 2195
PostPosted: Thu Jan 30, 2020 23:59 Post subject: Reply with quote
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 View user's profile Send private message Visit poster's website
AdelscottDD-WRT NoviceJoined: 29 Oct 2011Posts: 29
PostPosted: Fri Jan 31, 2020 0:08 Post subject: Reply with quote
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 View user's profile Send private message
egcDD-WRT GuruJoined: 18 Mar 2014Posts: 13880Location: Netherlands
PostPosted: Fri Jan 31, 2020 11:24 Post subject: Reply with quote
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 View user's profile Send private message
AdelscottDD-WRT NoviceJoined: 29 Oct 2011Posts: 29
PostPosted: Fri Jan 31, 2020 13:49 Post subject: Reply with quote
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 View user's profile Send private message
egcDD-WRT GuruJoined: 18 Mar 2014Posts: 13880Location: Netherlands
PostPosted: Fri Jan 31, 2020 14:46 Post subject: Reply with quote
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 Sad 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 View user's profile Send private message
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
Post new topic Reply to topic DD-WRT Forum Index -> Qualcomm Atheros based Hardware All times are GMT
Navigation
Jump to: Select a forum Forum Rules and Guidelines----------------Forum Rules and Guidelines EnglishForum Regeln and Anleitungen DeutschПравила форума и рекомендации: Russian DD-WRT (English)----------------AnnouncementsQualcomm Atheros based HardwareBroadcom SoC based HardwareGeneral QuestionsARM or PPC based HardwareMarvell MVEBU based Hardware (WRT1900AC etc.)Managed Switches based on Realtek RTL83xx PlatformSenao DevicesUbiquiti DevicesRalink SoC based HardwareX86 based HardwareBroadcom Customer Downloads & UpdatesAdvanced NetworkingSearch & Find, Sales & OffersHardware DIY / Hardware Mods DD-WRT (Deutsch)----------------AnkündigungenQualcomm Atheros basierende HardwareBroadcom SoC basierende HardwareAllgemeine FragenARM oder PPC basierte HardwareX86 basierende HardwareRalink SoC basierte Hardware DD-WRT (Español)----------------AnunciosHardware basado en AtherosHardware basado en Broadcom DD-WRT (Communauté francophone)----------------Annonces OfficiellesQuestions généralesMatériels à base de BroadcomMatériels à base de AtherosMatériels à base de RalinkLe Bistrot DD-WRT (Russian)----------------ОбъявленияИспользование и установка DD-WRT Оборудование на основе Atheros WiSOCОборудование на основе BroadcomОборудование на основе X86 / WRAP / Soekris Личные покупки и продажи Устройства Ubiquiti Оборудование на основе RalinkDD-WRT по-русски Development----------------Generic QuestionsContributions Upload
You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou cannot download files in this forum

Quick Links

Log in Profile View unanswered posts

Log in

Username: Password: Log me on automatically each visit Powered by phpBB © 2001, 2005 phpBB Group © 2022 EmbeDD GmbH

Từ khóa » Http://87-1-de.cg-dialup.net