LinuxQuestions.org
Visit Jeremy's Blog.
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, 02: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, 05:25 AM   #2
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 1,437

Rep: Reputation: 192Reputation: 192
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, 11: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, 02:49 PM   #4
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 1,437

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


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


All times are GMT -5. The time now is 04:19 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration