123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- <!DOCTYPE html>
- <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>Setting up LDAP Authentication for OPNSense</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta charset="UTF-8">
- <meta name="keywords" content="How To Configure OPNSense LDAP,How To Configure OPNSense Active Directory,How To Setup OPNSense LDAP,How To Setup OPNSense Active Directory,OPNSense LDAP Authentication,OPNSense Active Directory Authentication,OPNSense Windows User Auth,OPNSense,Network,Home Networking,LDAP,Home Lab,Self-Hosted,Lightweight Directory Access Protocol,Authentication,OPNSense Authentication,How To,Tutorial,i12bretro">
- <meta name="author" content="i12bretro">
- <meta name="description" content="Setting up LDAP Authentication for OPNSense">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="revised" content="03/21/2022 09:16:25 PM" />
- <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
- <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
- <script type="text/javascript" src="includes/js/steps.js"></script>
- <link href="css/steps.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <div id="gridContainer">
- <div class="topMargin"></div>
- <div id="listName" class="topMargin">
- <h1>Setting up LDAP Authentication for OPNSense</h1>
- </div>
- <div></div>
- <div id="content">
- <ol>
- <li>Open a web browser and navigate to the OPNSense web UI</li>
- <li>Log in to OPNSense</li>
- <li>Select System > Access > Servers from the left navigation menu</li>
- <li>Click the Add button in the top right of the screen</li>
- <li>Complete the form with the following information<br />
- <em><span style="font-size:12px;">The setup below will allow members of the DnsAdmins AD group to authenticate, tweak as needed</span></em>
- <p>Descriptive name: i12bretro.local<br />
- Type: LDAP<br />
- Hostname or IP address <br />
- i12bretro.local<br />
- Port value: 389<br />
- Transport: TCP - Standard<br />
- Protocol version: 3<br />
- Bind credentials:<br />
- User DN: CN=Readonly SVC,CN=Users,DC=i12bretro,DC=local<br />
- Password: Read0nly!!<br />
- Search scope: Entire Subtree<br />
- Base DN: DC=i12bretro,DC=local<br />
- Authentication containers: CN=Users,DC=i12bretro,DC=local<br />
- Extended Query: <br />
- &(memberOf=CN=DnsAdmins,CN=Users,DC=i12bretro,DC=local)<br />
- User naming attribute: sAMAccountName</p>
- </li>
- <li>Scroll to the bottom of the page and click the Save button</li>
- <li>Select System > Access > Tester from the left navigation menu</li>
- <li>Test the login capability of an LDAP user meeting the group requirements set above</li>
- <li>Select System > Settings > General from the left navigation menu</li>
- <li>Scroll down to the Authentication section</li>
- <li>Click the Server dropdown and enable authentication against the LDAP server</li>
- <li>Scroll to the bottom of the page and click the Save button</li>
- <li>Select System > Access > Users from the left navigation menu</li>
- <li>Click the cloud button at the bottom right of the user table</li>
- <li>Select users from LDAP to allow access to OPNSense</li>
- <li>Click the edit button next to each user and add the appropriate Group Memberships </li>
- <li>Click Lobby > Logout from the left navigation menu</li>
- <li>Test logging in as an LDAP authenticated user</li>
- </ol> </div>
- </div>
- </body>
- </html>
-
|