Preventing unauthorized access is a critical aspect of cybersecurity, and there are several free and open-source tools available that can help enhance your security posture. Here are some widely-used free tools and technologies for preventing unauthorized access:

1. **Firewalls:**

   – **pfSense:** An open-source firewall and router platform that offers advanced firewall features, VPN support, and intrusion detection.

   – **IPTables:** A widely-used firewall tool for Linux-based systems that allows you to define and manage packet filtering rules.

2. **Intrusion Detection and Prevention Systems (IDS/IPS):**

   – **Snort:** An open-source IDS/IPS that can analyze network traffic for suspicious patterns and take actions to block or alert on potential threats.

   – **Suricata:** An IDS/IPS engine that provides high-performance Network IDS, Network IPS, and Network Security Monitoring (NSM).

3. **Access Control and Authentication:**

   – **OpenLDAP:** An open-source LDAP directory server that can be used for centralizing user authentication and access control.

   – **FreeIPA:** An integrated security information management solution for managing identities, authentication policies, and access control in Linux-based environments.

4. **Password Managers:**

   – **Bitwarden:** A free and open-source password manager that helps users securely store and manage their login credentials.

5. **Multi-Factor Authentication (MFA):**

   – **Duo Security:** Provides free MFA for up to 10 users, offering an additional layer of security by requiring users to verify their identity using a mobile app or other methods.

6. **Network Segmentation:**

   – **VLANs (Virtual LANs):** Many network devices, including routers and switches, support VLANs, allowing you to segment your network into isolated zones to restrict unauthorized access.

7. **Security Information and Event Management (SIEM):**

   – **Elastic Stack (formerly ELK Stack):** While not a full SIEM, the Elastic Stack, which includes Elasticsearch, Logstash, and Kibana, can be used to collect and analyze security logs and events.

8. **File and Disk Encryption:**

   – **VeraCrypt:** An open-source disk encryption software that allows you to create encrypted volumes and protect your sensitive data.

9. **Web Application Firewalls (WAF):**

   – **ModSecurity:** A widely-used open-source WAF that helps protect web applications from various types of attacks.

10. **Security Auditing and Vulnerability Scanning:**

    – **OpenVAS (Open Vulnerability Assessment System):** An open-source vulnerability scanner that can help identify potential security weaknesses in your systems.

Remember that while these tools can be powerful in enhancing your security, they should be part of a comprehensive security strategy that includes policies, practices, and ongoing monitoring. Additionally, the effectiveness of these tools may vary depending on your specific use case and requirements, so it’s important to assess your organization’s needs and choose the right tools accordingly.