Answer the question
In order to leave comments, you need to log in
How to get ppp-profile with Radius on Mikrotik?
In detail, the question is as follows: a pptp-server has been raised on Mikrotik, users are authorized through a radius. Now there is a need for certain users to log in to another radius server and receive addresses from another pool. I figured out the authorization, but how to give the right ip - no. Tell me which way to dig.
UPD .:
Did you find the Framed-Pool (string) attribute in NPS is the name of the ip pool from which the client will be given ip? which matches the remote-address property from ppp profiles. It remains only to find an attribute that will give out the address, which is local-address from ppp profiles.
Answer the question
In order to leave comments, you need to log in
Your scheme describes the use of 2 pptp servers, and Mikrotik can only do 1, I think here you can solve the problem only by raising the second server.
• Framed-IP-Address
- IP address given to client. If address belongs to 127.0.0.0/8 or
224.0.0.0/3 networks, IP pool is used from the default profile to allocate client IP address. If
Framed-IP-Address is specified, Framed-Pool is ignored
• Framed-IP-Netmask
- client netmask. PPPs - if specified, a route will be created to the
network Framed-IP-Address belongs to via the Framed-IP-Address gateway; HotSpot - ignored
by HotSpot
• Framed-Pool
- IP pool name (on the router) from which to get IP address for the client. If
Framed-IP-Address is specified, this attribute is ignored
The Mikrotik-Group attribute will help with this task. With it, you can transfer the name of the PPP profile depending on the user's belonging to a particular group (for example, in Microsoft AD).
https://wiki.mikrotik.com/wiki/Manual:RADIUS_Client
https://habr.com/en/post/536648/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question