darrin17 Posted August 9, 2021 Share Posted August 9, 2021 Hello, I am trying to setup an openvpn configuration on the hybridvpn section of my router XR450 Firmware version XR450 V2.3.2.114 I have a .ovpn file that works on my android. see below client dev tun proto udp remote <PERSONALDDNS.NET> 1194 resolv-retry infinite nobind remote-cert-tls server tls-version-min 1.2 verify-x509-name raspberrypi_6366fed8-e944-49a4-8e9c-36983927cd90 name cipher AES-256-CBC auth SHA256 auth-nocache verb 3 <ca> -----BEGIN CERTIFICATE----- <alpha numeric stuff> -----END CERTIFICATE----- </ca> <cert> -----BEGIN CERTIFICATE----- <alpha numeric stuff> -----END CERTIFICATE----- </cert> <key> -----BEGIN PRIVATE KEY----- <alpha numeric stuff> -----END PRIVATE KEY----- </key> <tls-crypt> # # 2048 bit OpenVPN static key # -----BEGIN OpenVPN Static key V1----- <alpha numeric stuff> -----END OpenVPN Static key V1----- </tls-crypt> when i submit this in the advanced section I get this in the log: neither stdin nor stderr are a tty device and you have neither a controlling tty nor systemd - can't ask for 'Enter Private Key Password:'. If you used --daemon, you need to use --askpass to make passphrase-protected keys work, and you can not use --auth-nocache. Exiting due to fatal error I have tried with username and password, as well as setup a user without a password. based on the logs, it seems to be the auth-nocache line. But I don't know how to proceed. Unfortunately I could not find a solution online. Can I imbed the user name and password in the code? or is there a specific tag needed when adding a new pivpn user? PLEASE AND THANK YOU IN ADVANCE! Link to comment Share on other sites More sharing options...
Netduma Liam Posted August 9, 2021 Share Posted August 9, 2021 Who is your VPN provider? Unfortunately Hybrid VPN doesn't currently work if you're just routing it through an OpenVPN server. Link to comment Share on other sites More sharing options...
darrin17 Posted August 9, 2021 Author Share Posted August 9, 2021 Bummer, this is unfortunate. It is for a personal deployment of open vpn. Is there any work around for this? Duma v3? Or perhaps through a server of some sorts. What are my options? Link to comment Share on other sites More sharing options...
Administrators Featured Comment Netduma Fraser Posted August 9, 2021 Administrators Featured Comment Share Posted August 9, 2021 You can remove the auth-nocache and replace it with auth-user-pass and make sure you've set a username and password for the server, enter it in the boxes on advanced and it might work Netduma Liam 1 Link to comment Share on other sites More sharing options...
darrin17 Posted August 10, 2021 Author Share Posted August 10, 2021 15 hours ago, Netduma Fraser said: You can remove the auth-nocache and replace it with auth-user-pass and make sure you've set a username and password for the server, enter it in the boxes on advanced and it might work this is EXACTLY what i needed THANK YOU THANK YOU THANK YOU Netduma Fraser and Netduma Liam 2 Link to comment Share on other sites More sharing options...
Administrators Netduma Fraser Posted August 11, 2021 Administrators Share Posted August 11, 2021 Brilliant to hear that, thanks for the update! I'll close the topic as it's now resolved, feel free to make another if needed and we'll be happy to help! Link to comment Share on other sites More sharing options...
Recommended Posts
Posted by Netduma Fraser,
Solution
Recommended by Netduma Fraser
1 reaction
Go to this post