How to Setting Squid on PFSense 2.3 with Authentication LDAP Windows

Posted: June 22, 2016 in Netwok

I have Domain Controller running on Windows 2008 R2, then I have PFSense as Firewall and Proxy. All User Access Internet use Proxy, then I want Authentication User Proxy from Domain Controller. Below configuration from PFSense to get Authentication User from Active Directory Windows.

21-06-2016 16-18-50

1. Authentication for User

21-06-2016 16-17-57

Authentication Method : LDAP
Authentication Server : IP Server
Authentication server port : 389
LDAP Version : 3
LDAP Server User DN : CN=Administrator,CN=Users,DC=simasre,DC=local
LDAP Base Domain : DC=simasre,DC=local
LDAP Username DN Attribute : sAMAccountName
LDAP Search Filter : (sAMAccountName=%s)

2. Authentication for Group

22-06-2016 9-28-01

Authentication Method : LDAP
Authentication Server : IP Server
Authentication server port : 389
LDAP Version : 3
LDAP Server User DN : CN=Administrator,CN=Users,DC=simasre,DC=local
LDAP Base Domain : DC=simasre,DC=local
LDAP Username DN Attribute : sAMAccountName
LDAP Search Filter : (&(memberOf=CN=Internet-Access,OU=Group-Internet,DC=simasre,DC=local)(sAMAccountName=%s))

21-06-2016 16-28-46

Note: browser must setting proxy manual.

21-06-2016 16-23-12

21-06-2016 16-33-49

CMIIW, Thanks  Smile

Comments
  1. Jose Padron says:

    Hello, thanks for the post.

    I’m trying to do the same but when I enter to the browser and it asks for the user and password, no matter which user i write, it doesn’t connect.

    I’ve checked already for the LDAP connection and it’s connected, users appear so o problem connecting to the Domain…

  2. Useful, thanks for sharing.

Leave a Reply

Your email address will not be published. Required fields are marked *