Open mobydimk opened 6 years ago
openvpn --config client.ovpn
Tue Apr 24 19:25:56 2018 Unrecognized option or missing parameter(s) in client.ovpn:11: block-outside-dns (2.3.10) Tue Apr 24 19:25:56 2018 Unrecognized option or missing parameter(s) in client.ovpn:38: block-outside-dns (2.3.10) Tue Apr 24 19:25:56 2018 OpenVPN 2.3.10 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Jun 22 2017 Tue Apr 24 19:25:56 2018 library versions: OpenSSL 1.0.2g 1 Mar 2016, LZO 2.08 Tue Apr 24 19:25:56 2018 WARNING: --ping should normally be used with --ping-restart or --ping-exit Tue Apr 24 19:25:56 2018 Cannot load inline certificate file: error:0906D06C:PEM routines:PEM_read_bio:no start line: error:140AD009:SSL routines:SSL_CTX_use_certificate_file:PEM lib Tue Apr 24 19:25:56 2018 Exiting due to fatal error
openvpn --version
OpenVPN 2.3.10 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Jun 22 2017 library versions: OpenSSL 1.0.2g 1 Mar 2016, LZO 2.08 Originally developed by James Yonan Copyright (C) 2002-2010 OpenVPN Technologies, Inc. <sales@openvpn.net> Compile time defines: enable_crypto=yes enable_crypto_ofb_cfb=yes enable_debug=yes enable_def_auth=yes enable_dependency_tracking=no enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown enable_fast_install=yes enable_fragment=yes enable_http_proxy=yes enable_iproute2=yes enable_libtool_lock=yes enable_lzo=yes enable_lzo_stub=no enable_maintainer_mode=no enable_management=yes enable_multi=yes enable_multihome=yes enable_pam_dlopen=no enable_password_save=yes enable_pedantic=no enable_pf=yes enable_pkcs11=yes enable_plugin_auth_pam=yes enable_plugin_down_root=yes enable_plugins=yes enable_port_share=yes enable_selinux=no enable_server=yes enable_shared=yes enable_shared_with_static_runtimes=no enable_silent_rules=no enable_small=no enable_socks=yes enable_ssl=yes enable_static=yes enable_strict=no enable_strict_options=no enable_systemd=yes enable_win32_dll=yes enable_x509_alt_username=yes with_crypto_library=openssl with_gnu_ld=yes with_mem_check=no with_plugindir='${prefix}/lib/openvpn' with_sysroot=no
that script requires easy-rsa 2.0 download EasyRSA-2.2.2.tgz and extact to /usr/share/easy-rsa/2.0/ run openvpnsetup.sh
openvpn --config client.ovpn
openvpn --version