OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Web Proxy Filtering and Caching (Moderator: fabian) »
  • [SOLVED] sarg
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] sarg  (Read 981 times)

rasitha

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
    • View Profile
[SOLVED] sarg
« on: June 17, 2024, 09:10:26 pm »
i have installed sarg & generated the report by running sarg -x & the report is saved on /var/www/html/squid-reports/2024Jun18-2024Jun18

now i dont know how to view the file... can some one help me how to view the file
« Last Edit: June 21, 2024, 07:54:22 am by rasitha »
Logged

rasitha

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
    • View Profile
Re: [SOLVED] sarg
« Reply #1 on: June 21, 2024, 07:55:15 am »
to view the report u need to install nginx on opnsense
go to services>nginx>configuration

in http(s) tab> location> add
add a description
URL Pattern = /test
Match Type = caseinsensitivemach
File System Root = /var/www/html/squid-reports
Index File = index.html

save

in http(s)tab>http server ( make sure to click advanced mode)

HTTP Listen Address = 8888 (port number-the port i use )
Default Server = tick
Server Name = fqdn of ur opnsense server or the ip
File System Root = /var/www/html/squid-reports
Locations = the name u add in the above step

save

Generel tab

Enable nginx = tick

how to access
 http://ur opnsense ip or fqdn:8888(the port u give)
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Web Proxy Filtering and Caching (Moderator: fabian) »
  • [SOLVED] sarg
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2