Description
This article describes how to configure explicit proxy and authenticate users using NTLM protocol.
Solution
1) Enable web proxy.
# config user domain-controller4) Configure authentication Rule.
# config user domain-controller
edit "DC"
set ip-address <LDAP-Server-IP>
set port 445
set domain-name "labdc.local"
set ldap-server "LDAPSRV"
next
end
# config authentication scheme
edit "NTLMNEW"
set method ntlm
set domain-controller "DC"
set fsso-guest disable
next
end
# config authentication rule5) Configure 'User Group':
edit "NTLMNEWRULE"
set status enable
set protocol http
set srcaddr "VMware address"
set ip-based disable
set active-auth-method "NTLMNEW"
set web-auth-cookie disable
set comments ''
next
end
curl --proxy-ntlm --proxy-user Username:Password --proxy <PROXY_URL:PORT>
# diagnose wad user list
FGT # diagnose wad user list
ID: 1, VDOM: root, IPv4: 192.168.108.22
user name : aduser2
worker : 3
duration : 153
auth_type : Session
auth_method : NTLM
pol_id : 1
g_id : 5
user_based : 0
expire : 248
LAN:
bytes_in=119053 bytes_out=1258224
WAN:
bytes_in=937468 bytes_out=80500
auth_method = 2 <----- Means the user has been authenticated using NTLM method.
Related Articles
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.