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 05-22-2006, 06:06 AM   #1
Artik
Member
 
Registered: Apr 2005
Location: Israel
Distribution: Debian 3.1 Sarge, Ubuntu Breezy
Posts: 223

Rep: Reputation: 30
Connecting to VPN using l2tp


Hello,
I need to connect to VPN network (not ISP) that uses l2tp access method.
I try to connect to VPN using IP, Username and password. The connection is not encrypted using PAP.

I'm running Ubuntu Breezy.

I've installed l2tpd, added following lines to /etc/l2tp/l2tpd.conf

[lac my-vpn]
lns = xx.yy.zz.tt

in /etc/ppp/pap-secrets I've added line with passwords and user name.

The connection fails on authentication: There is the log:
May 19 20:26:31 localhost pppd[17339]: sent [PAP AuthReq id=0x1 user="artyom-linux" password=<hidden>]
May 19 20:26:32 localhost pppd[17339]: rcvd [LCP EchoRep id=0x0 magic=0x23a3a15d]
May 19 20:26:34 localhost pppd[17339]: rcvd [PAP AuthNak id=0x1 "Request Denied"]
May 19 20:26:34 localhost pppd[17339]: Remote message: Request Denied
May 19 20:26:34 localhost pppd[17339]: PAP authentication failed

I must admit that "artyom-linux" is user field in the log is not the username I've set in pap-secrets.
I've tryed to add noauth to /etc/ppp/options - no results.

Can somebody tell me what have I done wrong?
Or maybe there is some good instrutions on connecting to VPN network from linux using l2tp?

Thanks!
 
  


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
L2TP VPN client (Mandrake) Fernanda Linux - Networking 1 01-22-2006 08:43 AM
IPSEC/L2TP VPN Server on Fedora Core 3 using Kernel 2.6 petwalrus Linux - Networking 3 04-21-2005 11:55 AM
IPsec/L2TP VPN question IPsecLearner Linux - Networking 3 04-19-2005 12:32 PM
L2TP VPN connections to an ISA Server kendoucet Linux - Networking 0 03-24-2004 09:07 AM
L2TP/IPEC VPN for EOL GPRS linx win Linux - Networking 0 02-06-2004 02:26 AM


All times are GMT -5. The time now is 12:27 AM.

Main Menu
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