Page 1 of 1

accel-ppp as a L2TP LAC?

Posted: 05 Dec 2019, 04:32
by lbw

I was looking through the L2TP code and it appears, in theory, to have all the right bits to support this but I think the glue isn't present as I can't see how a L2TP tunnel is initiated from accel-ppp other than via the CLI.

Can accel-ppp act as a LAC, that is, receive PPP over L2TP sessions and then forward them over L2TP to another L2TP/PPP (LNS) end point for termination? In Cisco land, the end point is specified in a RADIUS AV Pair of:

Cisco-AVPair := "vpdn:ip-addresses="
Cisco-AVPair += "vpdn:tunnel-type=l2tp"
Cisco-AVPair += "vpdn:l2tp-tunnel-password=secret"

That causes the PPP session to be forwarded via L2TP to another L2TP end point.

Am I missing something? If not, I guess I had better get patching to make the glue...


Re: accel-ppp as a L2TP LAC?

Posted: 15 Jul 2020, 06:49
by rizwankh
Did you find any solution for this issue?

I am kind of stuck at the same thing.

Re: accel-ppp as a L2TP LAC?

Posted: 18 Jul 2020, 11:56
by lbw
No solution. I was hoping @dimka88 might shed some light if this is possible with the current code or if I need to try and patch it so I don't spend a hours trying to work it out.