Hello, all I currently have a new install of OPNsense setup as a Transparent Filtering Bridge. I would like to do some AV scanning and went to setup C-ICAP / ClamAV / Squid Web Proxy plugins. c-icap and clamav run just fine. But when I go to start the squid web proxy it errors out.
I see the errros but I could you a bit of help here sorting them.
Here or the logs.
2025-06-24T19:19:34 squid | Removing PID file (/var/run/squid/squid.pid)
Page faults with physical i/o: 0
Maximum Resident Size: 570720 KB
CPU Usage: 0.060 seconds = 0.026 user + 0.034 sys
2025-06-24T19:19:34 squid kid1| Squid Cache (Version 6.12): Terminated abnormally.
2025-06-24T19:19:34 squid kid1| FATAL: mimeLoadIcon: cannot parse internal URL: http://opnsense.localdomain:0/squid-internal-static/icons/silk/image.png
2025-06-24T19:19:34 squid kid1| storeDirWriteCleanLogs: Operation aborted.
2025-06-24T19:19:34 squid kid1| Not currently OK to rewrite swap log.
2025-06-24T19:19:34 squid kid1| ERROR: No forward-proxy ports configured.
Thanks for your help.
Bump.
Anyone want to give me a pointer on how to solve this? I have tried several times to re walk though the steps and it keeps giving me this error no matter what i tried.
If I not blind, their I can see the error...
ERROR: No forward-proxy ports configured.
Run on the console this command and read it carfully: squid -k parse
Regardas.
NOTE: AV, buy a bitdefender or other, open source AV cannot beat a comercial AV.
[cnutter@OPNsense ~]$ squid -k parse
2025/06/26 11:48:38| Processing Configuration File: /usr/local/etc/squid/squid.conf (depth 0)
2025/06/26 11:48:38| Processing: acl ftp proto FTP
2025/06/26 11:48:38| Processing: http_access allow ftp
2025/06/26 11:48:38| Processing: acl localnet src fc00::/7 # RFC 4193 local private network range
2025/06/26 11:48:38| Processing: acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machines
2025/06/26 11:48:38| Processing: acl PURGE method PURGE
2025/06/26 11:48:38| Processing: http_access allow localhost PURGE
2025/06/26 11:48:38| Processing: http_access deny PURGE
2025/06/26 11:48:38| Processing: acl SSL_ports port 443 # https
2025/06/26 11:48:38| Processing: acl Safe_ports port 80 # http
2025/06/26 11:48:38| Processing: acl Safe_ports port 21 # ftp
2025/06/26 11:48:38| Processing: acl Safe_ports port 443 # https
2025/06/26 11:48:38| Processing: acl Safe_ports port 70 # gopher
2025/06/26 11:48:38| Processing: acl Safe_ports port 210 # wais
2025/06/26 11:48:38| Processing: acl Safe_ports port 1025-65535 # unregistered ports
2025/06/26 11:48:38| Processing: acl Safe_ports port 280 # http-mgmt
2025/06/26 11:48:38| Processing: acl Safe_ports port 488 # gss-http
2025/06/26 11:48:38| Processing: acl Safe_ports port 591 # filemaker
2025/06/26 11:48:38| Processing: acl Safe_ports port 777 # multiling http
2025/06/26 11:48:38| Processing: acl CONNECT method CONNECT
2025/06/26 11:48:38| Processing: icap_enable on
2025/06/26 11:48:38| Processing: icap_service_failure_limit -1
2025/06/26 11:48:38| Processing: icap_default_options_ttl 60
2025/06/26 11:48:38| Processing: adaptation_send_client_ip on
2025/06/26 11:48:38| Processing: adaptation_send_username off
2025/06/26 11:48:38| Processing: icap_client_username_encode off
2025/06/26 11:48:38| Processing: icap_client_username_header X-Username
2025/06/26 11:48:38| Processing: icap_preview_enable on
2025/06/26 11:48:38| Processing: icap_preview_size 1024
2025/06/26 11:48:38| Processing: icap_service response_mod respmod_precache icap://[::1]:1344/avscan
2025/06/26 11:48:38| Processing: icap_service request_mod reqmod_precache icap://[::1]:1344/avscan
2025/06/26 11:48:38| Processing: include /usr/local/etc/squid/pre-auth/*.conf
2025/06/26 11:48:38| Not currently OK to rewrite swap log.
2025/06/26 11:48:38| storeDirWriteCleanLogs: Operation aborted.
2025/06/26 11:48:38| FATAL: Unable to find configuration file: /usr/local/etc/squid/pre-auth/*.conf: (13) Permission denied
2025/06/26 11:48:38| Squid Cache (Version 6.12): Terminated abnormally.
CPU Usage: 0.007 seconds = 0.000 user + 0.007 sys
Maximum Resident Size: 58288 KB
Page faults with physical i/o: 0
Let me be clear I have never setup squid before. So, when I look at this I am not seeing what I need to see. Thanks for any help provided.