LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-28-2014, 07:54 PM   #1
sousacanfly
LQ Newbie
 
Registered: Jan 2014
Posts: 28

Rep: Reputation: Disabled
Can't connect Ubuntu VM using CHAP, to IPSec VPN


Hi guys,

i had successfully connected the UBUNTU VM to the VPN, using only the shared secret.

After ennabling the chap (and adding the users at chap-secrets) i can connect with a user through a Macbook, but when i try it through ubuntu, can't

This is my syslog, and for what i've read the error 15 is due to the login details being wrong, but they are correct:

Code:
Mar  1 00:47:28 inuxone-virtual-machine L2tpIPsecVpnControlDaemon: Opening client connection
Mar  1 00:47:28 inuxone-virtual-machine L2tpIPsecVpnControlDaemon: Executing command invoke-rc.d xl2tpd stop
Mar  1 00:47:28 inuxone-virtual-machine xl2tpd[5264]: death_handler: Fatal signal 15 received
Mar  1 00:47:28 inuxone-virtual-machine L2tpIPsecVpnControlDaemon: Command invoke-rc.d xl2tpd stop finished with exit code 0
Mar  1 00:47:28 inuxone-virtual-machine L2tpIPsecVpnControlDaemon: Opening client connection
Mar  1 00:47:28 inuxone-virtual-machine L2tpIPsecVpnControlDaemon: Closing client connection
Mar  1 00:47:28 inuxone-virtual-machine L2tpIPsecVpnControlDaemon: Executing command invoke-rc.d xl2tpd start
Mar  1 00:47:28 inuxone-virtual-machine xl2tpd[5380]: setsockopt recvref[30]: Protocol not available
Mar  1 00:47:28 inuxone-virtual-machine xl2tpd[5380]: This binary does not support kernel L2TP.
Mar  1 00:47:28 inuxone-virtual-machine L2tpIPsecVpnControlDaemon: Command invoke-rc.d xl2tpd start finished with exit code 0
Mar  1 00:47:28 inuxone-virtual-machine L2tpIPsecVpnControlDaemon: Closing client connection
Mar  1 00:47:28 inuxone-virtual-machine xl2tpd[5381]: xl2tpd version xl2tpd-1.3.1 started on inuxone-virtual-machine PID:5381
Mar  1 00:47:28 inuxone-virtual-machine xl2tpd[5381]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc.
Mar  1 00:47:28 inuxone-virtual-machine xl2tpd[5381]: Forked by Scott Balmos and David Stipp, (C) 2001
Mar  1 00:47:28 inuxone-virtual-machine xl2tpd[5381]: Inherited by Jeff McAdams, (C) 2002
Mar  1 00:47:28 inuxone-virtual-machine xl2tpd[5381]: Forked again by Xelerance (www.xelerance.com) (C) 2006
Mar  1 00:47:28 inuxone-virtual-machine xl2tpd[5381]: Listening on IP address 0.0.0.0, port 1701

Thank you for any help you can provide!
 
  


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
best way for linux to connect to ipsec VPN? saiyen2002 Linux - Networking 2 08-19-2011 05:45 AM
how connect to a Windows server using VPN l2TP/IPSEC PSK? YourPadre Slackware 0 05-16-2011 12:07 AM
[ubuntu] Simple IPSEC VPN setup with PSK gfarrell Linux - Software 0 08-18-2010 05:14 AM
IPSec questions setting up to connect to a Linksys VPN router dendon Linux - Networking 2 10-30-2008 08:38 AM
IPSec VPN Client on Ubuntu noorania Linux - Software 2 04-25-2006 06:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:11 AM.

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