nm-openvpn with preshared key doesn't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager-openvpn (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: network-
Hi,
I can't get openvpn with preshared key working with network-manager (from command line it works fine). Problem seems to be, that although I don't use tls mode there's a parameter added (not configurable nor via gui nor via gconf editor) which is valid only in tls mode (ns_cert_type). See syslog output below:
Feb 20 15:20:17 kolibri ntpd[5860]: Deleting interface #6 tun0, 192.168.200.2#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 20 15:32:40 kolibri NetworkManager: <info> Will activate VPN connection 'Example-openvpn', service 'org.freedeskto
Feb 20 15:32:40 kolibri NetworkManager: <info> VPN Activation (Example-openvpn) Stage 1 of 4 (Connection Prepare) scheduled...
Feb 20 15:32:40 kolibri NetworkManager: <info> VPN Activation (Example-openvpn) Stage 1 of 4 (Connection Prepare) ran VPN service daemon org.freedesktop
Feb 20 15:32:40 kolibri NetworkManager: <info> VPN Activation (Example-openvpn) Stage 1 of 4 (Connection Prepare) complete.
Feb 20 15:32:40 kolibri NetworkManager: <info> VPN Activation (Example-openvpn) Stage 2 of 4 (Connection Prepare Wait) scheduled...
Feb 20 15:32:40 kolibri NetworkManager: <info> VPN service 'org.freedeskto
Feb 20 15:32:40 kolibri NetworkManager: <info> VPN Activation (Example-openvpn) Stage 2 of 4 (Connection Prepare Wait) waiting...
Feb 20 15:32:40 kolibri NetworkManager: <info> VPN Activation (Example-openvpn) Stage 2 of 4 (Connection Prepare Wait) complete.
Feb 20 15:32:40 kolibri NetworkManager: <info> VPN Activation (Example-openvpn) Stage 3 of 4 (Connect) scheduled...
Feb 20 15:32:40 kolibri NetworkManager: <info> VPN Activation (Example-openvpn) Stage 3 of 4 (Connect) sending connect request.
Feb 20 15:32:40 kolibri NetworkManager: <info> VPN Activation (Example-openvpn) Stage 3 of 4 (Connect) request sent, waiting for reply...
Feb 20 15:32:40 kolibri NetworkManager: <info> VPN service 'org.freedeskto
Feb 20 15:32:40 kolibri nm-openvpn[7395]: Options error: Parameter ns_cert_type can only be specified in TLS-mode, i.e. where --tls-server or --tls-client is also specified.
Feb 20 15:32:40 kolibri nm-openvpn[7395]: Use --help for more information.
Feb 20 15:32:40 kolibri NetworkManager: <info> VPN Activation (Example-openvpn) Stage 3 of 4 (Connect) reply received.
Feb 20 15:32:40 kolibri NetworkManager: <info> VPN Activation (Example-openvpn) Stage 4 of 4 (IP Config Get) timeout scheduled...
Feb 20 15:32:40 kolibri NetworkManager: <info> VPN Activation (Example-openvpn) Stage 3 of 4 (Connect) complete, waiting for IP configuration...
Feb 20 15:32:40 kolibri NetworkManager: <WARN> nm_vpn_
Feb 20 15:32:40 kolibri NetworkManager: <info> VPN service 'org.freedeskto
Feb 20 15:32:40 kolibri NetworkManager: <WARN> nm_vpn_
Hello
Please export the configuration and attach it here. Also try it from command line and also attach that working configuration here.