Answer the question
In order to leave comments, you need to log in
L2TP / IPsec with authorization in samba - how can a user be assigned a specific IP address?
There is a server on CentOS7, strongswan + xl2tpd + samba-winbind is up on it, pppd is configured to check MSCHAPv2 in the samba plugin. Everything works, but only with the range of IP addresses specified in xl2tpd. If I want to give someone an IP address that is different from this range, then I have nowhere to specify it! xl2tpd allocates an address from its pool before MSCHAPv2 authentication, and pppd, it seems, with this scheme, simply does not climb into its chap-secrets to read the IP address for the user from there. Or, alternatively, it does not get the correct username from the plugin after authentication is completed.
Accordingly, the question is, is it possible to bind an IP address to an L2TP / IPsec client when authorizing not through a file?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question