Add lcp_renegotiation option

To support proxy LCP negotiation.

Note: we *have* to take the auth id from the proxy answer, otherwise we would
replay previous ids, for which the client might cache the answer and thus
ignore our new challenge and just repeat their outdated answer.
This commit is contained in:
Samuel Thibault 2025-03-08 20:09:33 -05:00
parent 817ce35748
commit e7db528544
6 changed files with 388 additions and 31 deletions

View file

@ -24,6 +24,10 @@ set l2tp_secret "secret"
#set ppp_max_configure 10
#set ppp_max_failure 5
# Can be set to "on-mismatch" to enable proxy LCP negotiation
# (e.g. if LAC cannot pass LCP through)
#set lcp_renegotiation "always"
# Only 2 DNS server entries are allowed
set primary_dns 10.0.0.1
set secondary_dns 10.0.0.2