I just want to confirm this issue, exactly the same 5a54a wrote. This is 
confirmed on ubuntu-mate 16.04 64bit.
Interesting enough, Kubuntu 16.05 64bit does not have this issue. There is some 
problem at times importing profiles in Kubuntu, but trying again a second time 
works well.

I also noticed a few more issues, confirmed on multiple OpenVPN profiles:
 
TCP Ports
if the port in the profile is selected to be TCP, network-manager does not 
recognize that, and it is needed to manually go in network manager and select 
TCP port. However same profiles work fine on windows OpenVPN GUI, also starting 
OpenVPN from command line on linux works fine. 
remote xxxxxxxx tcp-client - This line in the configuration is relevant. 
network-manager-openvpn cannot interpret that (but works fine on anything else 
including cli). If I manually change the profile and split 2 lines, it works on 
network-manger-openvpn. something like this:
remote xxxxxxxx
tcp-client

SPLIT TUNNEL
if the profile is a split-tunnel configuration, network manager setting "use 
only for resources on this connection" in "ipv4 - routes" is not ticked. The 
connection tries to go full tunnel, and internet stops working. Also confirmed 
that on windows OpenVPN GUI this problem does not exist, and also starting 
OpenVPN from command line on linux works fine.

If separate bugs are requested, please let me know and I will do that.

sample of an OpenVPN profile (exported by PFSense appliance):
dev tun
persist-tun
persist-key
cipher BF-CBC
auth SHA1
tls-client
client
resolv-retry infinite
remote xxxxxxxx tcp-client
lport 0
auth-user-pass
ca xxxxxxxx-ca.crt
tls-auth xxxxxxxx-tls.key 1
ns-cert-type server
comp-lzo
passtos


Best Regards
Mauro

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/606365

Title:
  unable to import config with inlined ca, cert, key or tls-auth

To manage notifications about this bug go to:
https://bugs.launchpad.net/network-manager-openvpn/+bug/606365/+subscriptions

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

Reply via email to