Connecting to OpenVPN with Ubuntu Karmic

Followed this guide on my server:

I have all the files in the right places, imported my client.conf into network manager in ubuntu (after installing network-manager-openvpn on the pc), and I have set my client VPN keys, certs, and the ca.crt on my client chmod 0776.

When I go to connect, I am getting a 'Connection to the VPN timed out' error. My laptop is wirelessy connecting to my router, and I have put my laptop in the Demilitarized zone of my router. My /var/log/syslog is below:

Mar 2 17:41:59 adam-laptop NetworkManager: VPN service 'org.freedesktop.NetworkManager.openvpn' just appeared, activating connections

Mar 2 17:41:59 adam-laptop NetworkManager: VPN plugin state changed: 1

Mar 2 17:41:59 adam-laptop NetworkManager: VPN plugin state changed: 3

Mar 2 17:41:59 adam-laptop NetworkManager: VPN connection 'Techo VPN 2' (Connect) reply received.

Mar 2 17:41:59 adam-laptop nm-openvpn[2957]: OpenVPN 2.1_rc19 i486-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] built on Oct 13 2009

Mar 2 17:41:59 adam-laptop nm-openvpn[2957]: WARNING: No server certificate verification method has been enabled. See for more info.

Mar 2 17:41:59 adam-laptop nm-openvpn[2957]: NOTE: the current –script-security setting may allow this configuration to call user-defined scripts

Mar 2 17:41:59 adam-laptop nm-openvpn[2957]: WARNING: file '/home/adam/vpn_stuff/adam.delvecchio-nettop.key' is group or others accessible

Mar 2 17:41:59 adam-laptop nm-openvpn[2957]: /usr/bin/openssl-vulnkey -q -b 1024 -m Mar 2 17:41:59 adam-laptop nm-openvpn[2957]: LZO compression initialized

Mar 2 17:42:04 adam-laptop nm-openvpn[2957]: UDPv4 link local: [undef]

Mar 2 17:42:04 adam-laptop nm-openvpn[2957]: UDPv4 link remote: 72.14.187.223:1194

Mar 2 17:42:40 adam-laptop NetworkManager: VPN connection 'Techo VPN 2' (IP Config Get) timeout exceeded.

Mar 2 17:42:40 adam-laptop nm-openvpn[2957]: SIGTERM[hard,] received, process exiting

Any one have any ideas?

2 Replies

It was an error in my server.conf

@Tux.ice:

I have set my client VPN keys, certs, and the ca.crt on my client chmod 0776. > WARNING: file '/home/adam/vpn_stuff/adam.delvecchio-nettop.key' is group or others accessible
You really don't want your key to be so permissive - I think 0600 is more correct.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct