Linode Forum Index Linode Forum
Linode Community Forums
 


Connecting to OpenVPN with Ubuntu Karmic

Click here to go to the original topic

 
       Linode Forum Index -> Linux Networking
Author Message
Tux.ice



Joined: 08 Sep 2009
Posts: 15

Posted: Tue Mar 02, 2010 5: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?
Back to top  
Tux.ice



Joined: 08 Sep 2009
Posts: 15

Posted: Tue Mar 02, 2010 11:35 pm    Post subject: Nevermind  

It was an error in my server.conf
Back to top  
Stever



Joined: 07 Dec 2007
Posts: 329
Location: NC, USA

Posted: Wed Mar 03, 2010 8: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.
Back to top  
 
       Linode Forum Index -> Linux Networking
Page 1 of 1