Linode Forum
https://forum.linode.com/

Connecting to OpenVPN with Ubuntu Karmic
https://forum.linode.com/viewtopic.php?f=19&t=5262
Page 1 of 1

Author:  Tux.ice [ Tue Mar 02, 2010 6:44 pm ]
Post subject:  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: <info> VPN service 'org.freedesktop.NetworkManager.openvpn' just appeared, activating connections
Mar 2 17:41:59 adam-laptop NetworkManager: <info> VPN plugin state changed: 1
Mar 2 17:41:59 adam-laptop NetworkManager: <info> VPN plugin state changed: 3
Mar 2 17:41:59 adam-laptop NetworkManager: <info> 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 <modulus omitted>
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: <info> 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?

Author:  Tux.ice [ Wed Mar 03, 2010 12:35 am ]
Post subject:  Nevermind

It was an error in my server.conf

Author:  Stever [ Wed Mar 03, 2010 9:18 am ]
Post subject:  Re: Connecting to OpenVPN with Ubuntu Karmic

Tux.ice wrote:
I have set my client VPN keys, certs, and the ca.crt on my client chmod 0776.
Quote:
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.

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/