basic openVPN with pre-shared key crashed



Hi,


I've setup a very simple openvpn construction. At the client I can do:
openvpn --remote 192.168.1.94 --dev tun --ifconfig 192.168.2.2 192.168.2.1 --secret openvpn.key
and afterwards I can ping 192.168.2.1 as shown the openvpn manual page.
Now I'm trying to do the same via the NetworkManager. But when doing so I receive:

Nov  8 21:12:28 localhost NetworkManager: <information> Will activate VPN connection 'Home Network', service 'org.freedesktop.NetworkManager.openvpn', user_name 'fcorneli', vpn_data 'connection-type / shared-key / dev / tun / remote / 192.168.1.94 / proto / udp / ca /  / cert /  / key /  / comp-lzo / no / shared-key / /home/fcorneli/personal/openvpn.key / local-ip / 192.168.2.2 / remote-ip / 192.168.2.1 / username / ', route ''.
Nov  8 21:12:28 localhost NetworkManager: <information> VPN Activation (Home Network) Stage 1 of 4 (Connection Prepare) scheduled...
Nov  8 21:12:28 localhost NetworkManager: <information> VPN Activation (Home Network) Stage 1 of 4 (Connection Prepare) ran VPN service daemon org.freedesktop.NetworkManager.openvpn (PID 4144)
Nov  8 21:12:28 localhost NetworkManager: <information> VPN Activation (Home Network) Stage 1 of 4 (Connection Prepare) complete.
Nov  8 21:12:28 localhost NetworkManager: <information> VPN Activation (Home Network) Stage 2 of 4 (Connection Prepare Wait) scheduled...
Nov  8 21:12:28 localhost NetworkManager: <information> VPN service 'org.freedesktop.NetworkManager.openvpn' signaled state change 1 -> 6.
Nov  8 21:12:28 localhost NetworkManager: <information> VPN Activation (Home Network) Stage 2 of 4 (Connection Prepare Wait) waiting...
Nov  8 21:12:28 localhost NetworkManager: <information> VPN Activation (Home Network) Stage 2 of 4 (Connection Prepare Wait) complete.
Nov  8 21:12:28 localhost NetworkManager: <information> VPN Activation (Home Network) Stage 3 of 4 (Connect) scheduled...
Nov  8 21:12:28 localhost NetworkManager: <information> VPN Activation (Home Network) Stage 3 of 4 (Connect) sending connect request.
Nov  8 21:12:28 localhost NetworkManager: <information> VPN Activation (Home Network) Stage 3 of 4 (Connect) request sent, waiting for reply...
Nov  8 21:12:28 localhost NetworkManager: <information> VPN service 'org.freedesktop.NetworkManager.openvpn' signaled state change 6 -> 3.
Nov  8 21:12:28 localhost NetworkManager: <information> VPN Activation (Home Network) Stage 3 of 4 (Connect) reply received.
Nov  8 21:12:28 localhost NetworkManager: <information> VPN Activation (Home Network) Stage 4 of 4 (IP Config Get) timeout scheduled...
Nov  8 21:12:28 localhost NetworkManager: <information> VPN Activation (Home Network) Stage 3 of 4 (Connect) complete, waiting for IP configuration...
Nov  8 21:12:28 localhost nm-openvpn[4146]: OpenVPN 2.1_beta16 i386-redhat-linux-gnu [SSL] [LZO2] [EPOLL] built on Oct  3 2006
Nov  8 21:12:28 localhost nm-openvpn[4146]: TUN/TAP device tun0 opened
Nov  8 21:12:28 localhost nm-openvpn[4146]: /sbin/ip link set dev tun0 up mtu 1500
Nov  8 21:12:28 localhost nm-openvpn[4146]: /sbin/ip addr add dev tun0 local 192.168.2.2 peer 192.168.2.1
Nov  8 21:12:28 localhost nm-openvpn[4146]: /usr/bin/nm-openvpn-service-openvpn-helper tun0 1500 1544 192.168.2.2 192.168.2.1 init
Nov  8 21:12:28 localhost NetworkManager: <WARNING>      nm_vpn_service_process_signal (): VPN failed for service 'org.freedesktop.NetworkManager.openvpn', signal 'IPConfigBad', with message 'The VPN login failed because the VPN program received an invalid configuration from the VPN server.'.
Nov  8 21:12:28 localhost NetworkManager: <information> VPN service 'org.freedesktop.NetworkManager.openvpn' signaled state change 3 -> 5.
Nov  8 21:12:28 localhost NetworkManager: <WARNING>      nm_vpn_service_stop_connection (): (VPN Service org.freedesktop.NetworkManager.openvpn): could not stop connection 'Home Network' because service was 5.
Nov  8 21:12:28 localhost NetworkManager: <information> VPN service 'org.freedesktop.NetworkManager.openvpn' signaled state change 5 -> 6.
Nov  8 21:12:29 localhost nm-openvpn[4146]: script failed: shell command exited with error status: 1
Nov  8 21:12:29 localhost nm-openvpn[4146]: Exiting






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]