LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 05-17-2009, 06:02 AM   #1
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 623

Rep: Reputation: 33
Networkmanager + OpenVPN : timeout problem (Fedora 10)


I have a remote OpenVPN-server on an Endian firewall.
Authentication is set to username+password and a *.pem-certificate.

On my Fedora 10-system I have setup a new VPN-connection with NetworkManager :

gateway : IP-adres of the remote endian firewall / endian
type : password
CA Certificate : endian.pem (downloaded from endian firewall, generated automatically)

I have changed SELinux to grant access to OpenVPN to access the home directories. My endian.pem-certificate resides in /home/jonas.
(SELinux gave me this notice, and gave me the command to use. Very friendly of SELinux)

I have poked a hole in my firewall to open port 1194.

My router has PPTP and IPSec passthrough enabled.

Still... when I try to connect to the OpenVPNserver, it's taking too long and finally times out on "Requesting a VPN-address".

Where does it go wrong ?

tail -f /var/log/messages :

Code:
May 17 14:22:26 jonas NetworkManager: <info>  Starting VPN service 'org.freedesktop.NetworkManager.openvpn'...
May 17 14:22:26 jonas NetworkManager: <info>  VPN service 'org.freedesktop.NetworkManager.openvpn' started (org.freedesktop.NetworkManager.openvpn), PID 3960
May 17 14:22:26 jonas NetworkManager: <info>  VPN service 'org.freedesktop.NetworkManager.openvpn' just appeared, activating connections
May 17 14:22:26 jonas NetworkManager: <info>  VPN plugin state changed: 1
May 17 14:22:26 jonas NetworkManager: <info>  VPN plugin state changed: 3
May 17 14:22:26 jonas nm-openvpn[3962]: OpenVPN 2.1_rc15 i386-redhat-linux-gnu [SSL] [LZO2] [EPOLL] built on Nov 30 2008
May 17 14:22:26 jonas NetworkManager: <info>  VPN connection 'VPN TCS' (Connect) reply received.
May 17 14:22:26 jonas nm-openvpn[3962]: WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
May 17 14:22:26 jonas nm-openvpn[3962]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
May 17 14:22:26 jonas nm-openvpn[3962]: UDPv4 link local: [undef]
May 17 14:22:26 jonas nm-openvpn[3962]: UDPv4 link remote: 78.21.41.176:1194
May 17 14:23:07 jonas NetworkManager: <info>  VPN connection 'VPN TCS' (IP Config Get) timeout exceeded.
May 17 14:23:07 jonas nm-openvpn[3962]: SIGTERM[hard,] received, process exiting
May 17 14:23:07 jonas NetworkManager: <info>  Policy set 'Auto JOCAN' (wlan0) as default for routing and DNS.

Last edited by jonaskellens; 05-17-2009 at 08:27 AM.
 
Old 10-27-2011, 10:06 AM   #2
sj200449
LQ Newbie
 
Registered: Oct 2011
Posts: 3

Rep: Reputation: Disabled
Did you resolve this as I am seeing the exact same issue with Fedora 15 to a Cisco 5520 when trying to use openvpn

Linux xxxxx 2.6.40.6-0.fc15.i686 #1 SMP Tue Oct 4 00:51:19 UTC 2011 i686 i686 i386 GNU/Linux

i even downloaded the pem cert and told openvpn about it in /etc/pki/tls/certs although i dont think that was needed as you tell the NetworkManager openvpn dialogue about it anyway (the cert)
 
Old 10-27-2011, 11:01 AM   #3
pendrive
Member
 
Registered: Mar 2011
Posts: 51

Rep: Reputation: 2
issue this command on the terminal and put the output here

$ openvpn /path/to/client.conf
 
Old 10-27-2011, 02:49 PM   #4
sj200449
LQ Newbie
 
Registered: Oct 2011
Posts: 3

Rep: Reputation: Disabled
Trying to find that file now, it is not in /etc/openvpn because i am using the network manager tool to configure the connection, having trouble but will post when i find it.

alternatively i may ignore network manager and try the fedora vpn page manually.
 
Old 10-31-2011, 06:03 AM   #5
sj200449
LQ Newbie
 
Registered: Oct 2011
Posts: 3

Rep: Reputation: Disabled
Having issues with time on this now. Will get back to it asap.

-Stephen
 
Old 11-02-2011, 10:30 AM   #6
pendrive
Member
 
Registered: Mar 2011
Posts: 51

Rep: Reputation: 2
find it from /usr/share/doc/openvpn/examples/sample-config-files/client.conf

copy it from there to /etc/openvpn/ and then config it to customize for yourself
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Networkmanager for Fedora 8 nbg Fedora 1 06-11-2008 06:28 AM
Keeping Keyring unlocked in Fedora 8 for NetworkManager cdhgee Linux - Software 0 02-17-2008 11:19 PM
NetworkManager can't use WEP in Fedora 8 IndustrialGeek Linux - Newbie 2 12-03-2007 01:49 PM
Problem with NetworkManager aspartat Linux - Wireless Networking 2 12-17-2006 08:49 AM
NetworkManager problem diablo_06 Linux - Wireless Networking 1 07-04-2006 11:09 AM


All times are GMT -5. The time now is 11:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration