LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-01-2015, 01:40 AM   #1
xguest2587
LQ Newbie
 
Registered: Sep 2015
Posts: 3

Rep: Reputation: Disabled
NetworkManager: VPN Connection Time Out


Hi
I am arch linux user. I have purchased a VPN account from a local vpn provider. Its a l2tp over ipsec (type) connection. I have installed "networkmanager-l2tp" from AUR and created VPN connection from NetworkManager but the problem is that it is iving following error:
Quote:
The vpn connection "MyVPN" failed because the connection attempt tImed out
Here is the configuration from NetworkManager:
Code:
[connection]
id=MYVPN
type=vpn
autoconnect=false
permissions=user:xguest2587:;
secondaries=

[vpn]
password-flags=0
ipsec-group-name=<my_vpn>
require-mppe=yes
user=<vpn_username>
ipsec-psk=<my_psk>
refuse-eap=yes
refuse-chap=yes
ipsec-gateway-id=<gateway_id>
gateway=<vpnserver.com>
refuse-pap=yes
service-type=org.freedesktop.NetworkManager.l2tp

[vpn-secrets]
password=<vpn_password>

[ipv4]
dns-search=
method=auto

[ipv6]
dns-search=
method=auto
Why VPN is giving a timeout error? Is there any problem in this config file? Kindly help me to fix this problem.
Regards
 
Old 09-02-2015, 04:25 AM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,805

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Review the /var/log/NetworkManager logfile for errors etc. However, if you're using systemd with journal file, you'll need to examine output using journalctl

https://wiki.archlinux.org/index.php/Systemd#Journal
http://www.freedesktop.org/software/...ournalctl.html
 
Old 09-02-2015, 10:36 AM   #3
xguest2587
LQ Newbie
 
Registered: Sep 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
The company has sent me openvpn file which solved the problem.
 
Old 09-02-2015, 01:49 PM   #4
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,805

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Well there you go then.
 
  


Reply



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
script to change vpn connection if slow vpn connection andrew44 Linux - General 2 02-23-2014 11:25 AM
Cannot disconnect NetworkManager vpn poda19 Linux - Software 1 02-12-2013 12:26 PM
How to get wired and wireless connection at the same time using NetworkManager? veeruk101 Linux - Newbie 3 07-04-2011 10:58 PM
VPN (vpnc) connection only seems to work every other time g-man1066 Linux - Networking 0 08-12-2010 09:13 PM
VPN - is there a way to use VPN & normal connection at the same time? natv Linux - Networking 4 09-05-2007 08:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:57 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
Open Source Consulting | Domain Registration