As I supposed, the problem is here:

Oct 12 15:02:53 apolo nm-openvpn[15415]: WARNING: 'cipher' is used
inconsistently, local='cipher BF-CBC', remote='cipher AES-256-CBC'

I'm using a different cipher method. I modified the nm-openvpn-service.c
and change this:

        /* Cipher */
        tmp = g_hash_table_lookup (properties, NM_OPENVPN_KEY_CIPHER);
        if (tmp && strlen (tmp)) {
                add_openvpn_arg (args, "--cipher");
                add_openvpn_arg (args, tmp);
        }

for this:

                add_openvpn_arg (args, "--cipher");
                add_openvpn_arg (args, "AES-256-CBC");

I have no idea where I can configure cipher parameter in openvpn-helper.
But this is the point of the problem.

Now the connection don't hang up anymore, but there are still another
problem. It's the routes are not configured quite well. I'm going to
continue with my research.

Thanks.

-- 
n-m-openvpn shuts down VPN when openvpn soft-restarts
https://bugs.launchpad.net/bugs/280160
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to