Comment 5 for bug 280160

Revision history for this message
Sergio Gómez (perseo) wrote :

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.