Connecting to VPN using l2tp
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
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: sent [PAP AuthReq id=0x1 user="artyom-linux" password=<hidden>]
May 19 20:26:32 localhost pppd: rcvd [LCP EchoRep id=0x0 magic=0x23a3a15d]
May 19 20:26:34 localhost pppd: rcvd [PAP AuthNak id=0x1 "Request Denied"]
May 19 20:26:34 localhost pppd: Remote message: Request Denied
May 19 20:26:34 localhost pppd: 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?
|All times are GMT -5. The time now is 10:13 AM.|