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.
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 */ KEY_CIPHER) ;
tmp = g_hash_table_lookup (properties, NM_OPENVPN_
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.