Pass private key password to openvpn command directly in Ubuntu 10.10 [closed]

In my openvpn.conf: … askpass /etc/openvpn/jdoe.pass <<< new line here ca /etc/openvpn/jdoe_ca.crt cert /etc/openvpn/jdoe.crt key /etc/openvpn/jdoe.key … The file /etc/openvpn/jdoe.pass just contains the password. You can chmod this file to 600. This method save my life… 😉 Ubuntu 12.04.4 LTS OpenVPN 2.2.1 x86_64-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [eurephia] [MH] [PF_INET6] [IPv6 payload 20110424-2 (2.2RC2)] built … Read more

OpenVPN failed connection / All TAP-Win32 adapters on this system are currently in use [closed]

I found a solution to this. It’s bloody witchcraft, but it works. When you install the client, open Control Panel > Network Connections. You’ll see a disabled network connection that was added by the TAP installer (Local Area Connection 3 or some such). Right Click it, click Enable. The device will not reset itself to … Read more

How make openvpn work with docker

Solution (TL;DR;) Create /etc/openvpn/fix-routes.sh script with following contents: #!/bin/sh echo “Adding default route to $route_vpn_gateway with /0 mask…” ip route add default via $route_vpn_gateway echo “Removing /1 routes…” ip route del 0.0.0.0/1 via $route_vpn_gateway ip route del 128.0.0.0/1 via $route_vpn_gateway Add executable bit to the file: chmod o+x /etc/openvpn/fix-routes.sh. Change owner of this file to … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)