As the former contains link to the latter as more secure howto, I tried to install openvpn server based on that wiki... there is missing description at all... no idea why they try to setup CA and ICA ... etc.. I just wanted setup opevnp server on my openwrt and create access to lets say 2-3 clients...
Any idea? what page can i use as best practice etc...
"oldwiki" links should have a big banner across them
This are read only contents of the former OpenWrt wiki system. The pages are provided for archival purposes only. Refer to https://openwrt.org/ for up-to-date information.
I created redirects now from the oldwiki urls to the openvpn/basic page, in order to lessen the confusion and direct users to up-to-date documentation.
hi,
its not working at all ... on the client side when i try to connect i got error as: (its win7, openvpn connect 2.6x) Core exception: connection error: PEM_PASSWORD_FAILED: PolarSSL error parsing config private key : PK - Private key password can't be empty.
Also i dont understand client section in howto... each time i run script to generate client config... the config is exactly same ... ie each client has same keys/ etc... which i think from the sec perspective is really bad idea?
For non-interactive applications (i.e. a web server, or an OpenVPN client that starts automatically), the private key files must be stored with no password.
The server and each client should have their own separate certificate. Sign all these certificates with the same CA that you created.
I suggest using xca or other GUI CA application to create your certificates offline of the router instead of easy-rsa and its scripts that vary by distribution.
apparently you didnt read my issue. Your answer is out of topic...
Yes each client should have their own, but the script on openwrt site (part of howto) apparently doesnt do that correctly and also there is issue as described: Core exception: connection error: PEM_PASSWORD_FAILED: PolarSSL error parsing config private key : PK - Private key password can't be empty.
in that case how / where i can provide password on client side for that pass-protected key and cert? I am so confused ;-/ Is there any working guide how to set it up for multiple clients? thank you
its pretty messed up now:
wget --no-check-certificate -O /tmp/create-certs.sh "...ode/docs/guide-user/services/vpn/openvpn/basic?codeblock=1" sh -v -x /tmp/create-certs.sh
the script downloaded via wget is different as a script provided on howtopage... which one is correct now? Execution of the script from wget ... produced multiple errors: /tmp/create-certs.sh: line 1: service: not found
But again its completely different as the one on the howto website...
The one where wget points seem to me same as create-configs.sh ... so i executed the one as part of the howtopage.
server config:
wget --no-check-certificate -O /tmp/create-configs.sh ".... user/services/vpn/openvpn/basic?codeblock=3"