LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   NetworkManager: VPN Connection Time Out (https://www.linuxquestions.org/questions/linux-newbie-8/networkmanager-vpn-connection-time-out-4175552293/)

xguest2587 09-01-2015 01:40 AM

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

ferrari 09-02-2015 04:25 AM

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

xguest2587 09-02-2015 10:36 AM

The company has sent me openvpn file which solved the problem.

ferrari 09-02-2015 01:49 PM

Well there you go then. :)


All times are GMT -5. The time now is 04:15 PM.