سلام
چطوری میشه یوزر هایی که با اکتیو دایرکتوری مدیریت میشن رو به میکروتیک معرفی کرد؟؟؟
لطفا اگه کسی میونه کمک کنه
مرسی
Printable View
سلام
چطوری میشه یوزر هایی که با اکتیو دایرکتوری مدیریت میشن رو به میکروتیک معرفی کرد؟؟؟
لطفا اگه کسی میونه کمک کنه
مرسی
[LEFT][B]AAA with Active Directory[/B]
[B]From MikroTik Wiki[/B]
Jump to: [URL="http://wiki.mikrotik.com/wiki/AAA_with_Active_Directory#column-one"]navigation[/URL], [URL="http://wiki.mikrotik.com/wiki/AAA_with_Active_Directory#searchInput"]search[/URL]
[B] Example One [/B]
MT setup
/ip radius add
service=ppp,wireless
address=<ip address of AD server>
secret=<password for RADIUS service on AD server>
authentication_port=1812
accounting_port=1813
/ip ppp AAA
use_radius=yes
accounting=yes
/ip ppp pptp-server
enabled=yes
authentication=mschap1,mschap2
[B]Windows Setup[/B]
Start->Control Panel-Administrative Tools->Internet Authentication Service
Right-click on RADIUS Clients->New
Friendly Name: MikroTik
Address: <ip address of MT>
Client-Vendor: RADIUS Standard
Shared secret: <password used to access the RADIUS service>
[B] Example Two [/B]
[B]Part A - Setup IAS RADIUS on Active Directory Services[/B]
Setup IAS on a server acting as Active Directory Services Domain Controller and register it’s services. [URL="http://wiki.mikrotik.com/wiki/File:IAS-Setup1.JPG"][IMG]http://wiki.mikrotik.com/images/b/be/IAS-Setup1.JPG[/IMG][/URL]
Give a meaningful description and enable logging for authentication status. [URL="http://wiki.mikrotik.com/wiki/File:IAS-Setup2.JPG"][IMG]http://wiki.mikrotik.com/images/7/70/IAS-Setup2.JPG[/IMG][/URL]
User respective 1812 for Authentication and 1813 for Accounting port only. [URL="http://wiki.mikrotik.com/wiki/File:IAS-Setup3.JPG"][IMG]http://wiki.mikrotik.com/images/8/85/IAS-Setup3.JPG[/IMG][/URL]
Create a Realms profile, find “User-Name” replace it with “DOMAIN\User-Name” variables into IAS. [URL="http://wiki.mikrotik.com/wiki/File:IAS-Setup4.JPG"][IMG]http://wiki.mikrotik.com/images/8/88/IAS-Setup4.JPG[/IMG][/URL]
Create a “hotspot.com” client profile and set IP address pointing to MikroTik hotspot server 172.19.1.253. Set Client Vendor to RADIUS Standard and enter a unique password for IAS. Do not enable Attributes Signature check box. [URL="http://wiki.mikrotik.com/wiki/File:IAS-Setup5.JPG"][IMG]http://wiki.mikrotik.com/images/e/ec/IAS-Setup5.JPG[/IMG][/URL]
Enable Remote Access Logging check box for all properties. [URL="http://wiki.mikrotik.com/wiki/File:IAS-Setup6.JPG"][IMG]http://wiki.mikrotik.com/images/b/b4/IAS-Setup6.JPG[/IMG][/URL]
Select IAS Format and set Log Time Period to Daily. [URL="http://wiki.mikrotik.com/wiki/File:IAS-Setup7.JPG"][IMG]http://wiki.mikrotik.com/images/e/e9/IAS-Setup7.JPG[/IMG][/URL]
Create Remote Access Policies profile to “hotspot.com”. Add “Windows-Groups” matches “DOMAIN\Username” profile. Enable Grant remote access permission. [URL="http://wiki.mikrotik.com/wiki/File:IAS-Setup8.JPG"][IMG]http://wiki.mikrotik.com/images/a/ac/IAS-Setup8.JPG[/IMG][/URL]
At Authentication tab Enable check box for “MS-CHAP v2, MS-CHAP, CHAP and PAP” method. Note HotSpot only uses PAP method. [URL="http://wiki.mikrotik.com/wiki/File:IAS-Setup9.JPG"][IMG]http://wiki.mikrotik.com/images/1/12/IAS-Setup9.JPG[/IMG][/URL]
At Encryption tab Enable all the check box allowed by this profile. [URL="http://wiki.mikrotik.com/wiki/File:IAS-Setup10.JPG"][IMG]http://wiki.mikrotik.com/images/6/67/IAS-Setup10.JPG[/IMG][/URL]
At Advance tab do not add any additional connection attributes. [URL="http://wiki.mikrotik.com/wiki/File:IAS-Setup11.JPG"][IMG]http://wiki.mikrotik.com/images/c/cb/IAS-Setup11.JPG[/IMG][/URL]
[B]Part B - Setup IAS RADIUS with MikroTik[/B]
Add a RADIUS server profile and enable service for “hotspot”. Enter IP Address of IAS RADIUS server. Enter the same password created earlier for RADIUS secret. Use port 1812 for Authentication and 1813 for Accounting with Timeout at 300ms. [URL="http://wiki.mikrotik.com/wiki/File:IAS-MT-Config1.JPG"][IMG]http://wiki.mikrotik.com/images/6/67/IAS-MT-Config1.JPG[/IMG][/URL]
At “Hotspot Server Profiles” Login By check “HTTP PAP” only. [URL="http://wiki.mikrotik.com/wiki/File:IAS-MT-Config2.JPG"][IMG]http://wiki.mikrotik.com/images/d/da/IAS-MT-Config2.JPG[/IMG][/URL]
At “Hotspot Server Profiles” check Use RADIUS and Accounting. NAS Port Type leave it as (19 wireless-802.11) or change to 15 (Ethernet) mode. [URL="http://wiki.mikrotik.com/wiki/File:IAS-MT-Config3.JPG"][IMG]http://wiki.mikrotik.com/images/b/bd/IAS-MT-Config3.JPG[/IMG][/URL]
[B]Part C – Testing IAS RADIUS with PC[/B]
[LIST=1][*]Use NTRadPing Test Utility to verify the communication link with a test PC. [url=http://www.dialways.com/download/]DialWays v3.0 - radius server , radius AAA , tacacs server[/url][*]Remember to add in the test PC IP Address intended for testing into the IAS Client Profile before initiating test.[*]Enter the IAS RADIUS server IP Address and port “1812” for Request Type “Authentication Request” mode followed by the RADIUS Secret Key. [URL="http://wiki.mikrotik.com/wiki/File:IAS-Test1.JPG"][IMG]http://wiki.mikrotik.com/images/9/9e/IAS-Test1.JPG[/IMG][/URL][*]Also enter the User-Name found in the Active Directory Service User Domain Lists. If successful response reply will be “Access-Accepted”.[*]Next change port to “1813” for Request Type “Accounting Start” click send and reply should be “Accounting-Response” if the RADIUS server is working. [URL="http://wiki.mikrotik.com/wiki/File:IAS-Test2.JPG"][IMG]http://wiki.mikrotik.com/images/7/75/IAS-Test2.JPG[/IMG][/URL][/LIST]
[B]Part D – Activating Domain Users for IAS RADIUS[/B]
Check for respective User properties if they are member of “RAS and IAS Server” groups, if not add them as group members. [URL="http://wiki.mikrotik.com/wiki/File:AD-User_IAS1.JPG"][IMG]http://wiki.mikrotik.com/images/c/cb/AD-User_IAS1.JPG[/IMG][/URL]
Next check the Dial-in tab and enable Allow access for Remote Access Permission. [URL="http://wiki.mikrotik.com/wiki/File:AD-User_IAS2.JPG"][IMG]http://wiki.mikrotik.com/images/b/bc/AD-User_IAS2.JPG[/IMG][/URL]
[/LEFT]