Script to setup application Samba AD authentication in squid for pfSense® software
pf2ad is a script for automating installation via Kerberos/NTLM authentication environment AD in squid for pfSense® software. The script already does all the work required to leave the pfSense® software compatible with AD and adds it as a member in the AD tree.
The script is automatic, meaning you need not install anything, he will have to check the necessary dependencies and install the needed.
To make the application of change patches and NTLM authentication setting in pfSense® software, we will need version 2.4.5/2.5.0/2.5.1 or the new 2.5.2-RC of pfSense® software. Remember that this version is compatible (will install if you have not) with Squid package, you will need web access or console (recommend using the console via ssh to monitor the process).
The pf2ad project today is being distributed in the form of a download key that is acquired with a single payment. This key gives you access to install the configuration script, without limits of use and being able to use the same code for future versions and/or updates.
The idea of value is to maintain the project, so the only thing we ask is that they do not distribute or disclose the key.
Payment can be made using the options below. If you prefer another method, you can contact contact us via email email@example.com
To apply the patch, run the command:
pf2ad for pfSense 2.5.2:
Use your download key received by email
fetch -q -o - "https://pf2ad.com/download.php?key=‹paste your key here›&version=2.5.2&file=pf2ad.sh" | sh
Questions ? Access the forum Mundounix
It will upgrade the system package, add a custom repository with samba version with AD support, will if necessary the installation of the dependent package Squid, apply changes to the Squid package code and the system menu to add configuration options of AD authentication.
If you still choose to use the web-based, use the option Diagnostics » command prompt as the image below:
Below, a screencast demonstrating how to apply the script via terminal (ssh)
Once the patch is applied, check the options, as follows:
Configure pfSense® software DNS to point to the AD server, with the options as follows
Configure the AD options
Once you apply the configuration, make sure the pfSense® software server was added in the tree Active Directory
Follow the procedure below a screencast
How to implement an LDAP filter in SquidGuard Optional