Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    ClamAV antivirus dont work?!

    Scheduled Pinned Locked Moved Cache/Proxy
    4 Posts 2 Posters 1.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      starnix
      last edited by

      Hello, yesterday I installed both Squid and Squidguard in my PfSense and I would like to install the ClamAV antivirus so that when I try to open any file it won't leave me, well, I followed the next steps of the two videos you see, the service comes out as active but when I go to the web that they use for testing and I try to download anything, it leaves me without any problem and the page doesn't come.

      The videos I used are the following:
      [ClamAV installation] (https://www.youtube.com/watch?v=RFkYfBNclms)

      Squid + Squidguard + ClamAV installation

      Data to take into account:

      • PfSense used since VirtualBox version 2.4.4 p-3 (it is an ISO)
      • The tests are carried out from Windows 8 virtual machines
      • My network scheme is as follows: I go to the internet through a WAN, from it I have two LANS, an Admin call that is LAN 1 that I use with a fixed IP and then I have LAN 2 called Clients, this LAN takes one Automatic IP with DHCP.
      • Customers can only access the internet through a captive portal, if they do not log in and enter username and password correctly, it does not allow them to navigate.

      This is the only thing that I think I can have wrong and that is why it does not come out, this is within the Squid configuration:

      net1.PNG
      net2.PNG
      net3.PNG

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        You seem to have Squid configured on WAN for some reason. It should be on the interfaces it's listening on.

        Steve

        1 Reply Last reply Reply Quote 0
        • S
          starnix
          last edited by

          @stephenw10
          I have tried to put it on clients and administrators, it does not work, I try to block social network pages or any other type with a blacklist and it allows me to enter without any problem. From what I understand this is because SquidGuard only blocks http and not https, am I wrong?

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            How you have it setup that is correct. With SSL filtering disabled Squid will only proxy http traffic.

            Steve

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.