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

    Group in LightSquid Report

    Scheduled Pinned Locked Moved pfSense Packages
    4 Posts 2 Posters 8.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.
    • G
      gregoryc911
      last edited by

      Can anyone tell me where I can define the groups for my computers that is displayed be a ? in the report under lightsquid:Day Detail: Group Mode.  I was able to modify the /usr/local/etc/lightsquid editing the realname.cfg, however I cannot figure out how to list computers in groups.  I would like to have my workstations in a group, VM's in a group, etc.  ???

      Any help would be great.  I found a file… but it list a name then a number like 01 then Administrator etc.  If this is the file, this does not explain what goes where to set the group.

      Thank you!  ;D
      Greg

      1 Reply Last reply Reply Quote 0
      • D
        dvserg
        last edited by

        Groups future not supported via Web gui.

        SquidGuardDoc EN  RU Tutorial
        Localization ru_PFSense

        1 Reply Last reply Reply Quote 0
        • G
          gregoryc911
          last edited by

          @dvserg:

          Groups future not supported via Web gui.

          TY for your answer however I did not ask for the web GUI I was asking for the file path.
          After MUCH thought  ::) (lol) I did happen to find it for those of you that would like to group your computers.  This is nice for me as I run several Workstations, Thin Clients, Servers, and VM's etc.

          Here is the link that kinda helped.  I had to play around with it to get it to work. http://lightsquid.sourceforge.net/.group.html

          It has the following:
          A format:
          userid    group#    groupname
          string    digit        string

          I used the following for my setup
          userid    group#                            groupname
          ip          number of group I wanted    The name of the group

          Here are the steps I took (use at your own risk…. it worked fine for me):
          after ssh'ing into the pfsense box or sitting at the terminal I choose from the pfsense console setup
          8) Shell
          I then typed the following:
          "cd /usr/local/etc/lightsquid"  (Remove the quotes and this will get you into the directory)
          then I typed (to back up the original copy just in case!)
          "cp group.cfg group.cfg.bkup" (remove the quotes.... then hit enter - it copies the file)
          Be very careful when you are editing... there are several things that don't always work and I am sure its because I am a noob. 
          Next I removed all the lines in the file to have a blank group.cfg
          (I created a notepad file and copied and pasted the results in the group.cfg file but you can type directly into the vi screen if you are comfortable.)

          My file looks like:
          ##Thin Clients .1 - .9
          192.168.1.1  01 Thin Clients .1 - .9
          192.168.1.2  01 Thin Clients .1 - .9
          192.168.1.3  01 Thin Clients .1 - .9
          192.168.1.4  01 Thin Clients .1 - .9
          192.168.1.5  01 Thin Clients .1 - .9
          192.168.1.6  01 Thin Clients .1 - .9
          192.168.1.7  01 Thin Clients .1 - .9
          192.168.1.8  01 Thin Clients .1 - .9
          192.168.1.9  01 Thin Clients .1 - .9

          Begin Workstations .10 - .30

          192.168.1.10  10 Workstations .10 - .30         
          192.168.1.11  10 Workstations .10 - .30
          192.168.1.12  10 Workstations .10 - .30         
          192.168.1.13  10 Workstations .10 - .30         
          192.168.1.14  10 Workstations .10 - .30
          192.168.1.15  10 Workstations .10 - .30         
          192.168.1.16  10 Workstations .10 - .30         
          192.168.1.30  10 Workstations .10 - .30

          Begin DHCP .50 - .90

          192.168.1.50 50 DHCP Clients .50 - .90
          192.168.1.51 50 DHCP Clients .50 - .90
          192.168.1.52 50 DHCP Clients .50 - .90
          192.168.1.53 50 DHCP Clients .50 - .90
          192.168.1.54 50 DHCP Clients .50 - .90
          192.168.1.55 50 DHCP Clients .50 - .90
          192.168.1.56 50 DHCP Clients .50 - .90
          192.168.1.57 50 DHCP Clients .50 - .90
          192.168.1.58 50 DHCP Clients .50 - .90
          192.168.1.59 50 DHCP Clients .50 - .90
          192.168.1.60 50 DHCP Clients .50 - .90
          192.168.1.61 50 DHCP Clients .50 - .90
          192.168.1.62 50 DHCP Clients .50 - .90
          192.168.1.63 50 DHCP Clients .50 - .90
          192.168.1.64 50 DHCP Clients .50 - .90
          192.168.1.65 50 DHCP Clients .50 - .90
          192.168.1.66 50 DHCP Clients .50 - .90

          Begin Servers .100-.125

          192.168.1.100 100 Servers - Physical .100 - .125
          192.168.1.101 100 Servers - Physical .100 - .125         
          192.168.1.102 100 Servers - Physical .100 - .125       
          192.168.1.103 100 Servers - Physical .100 - .125         
          192.168.1.124 100 Servers - Physical .100 - .125
          192.168.1.125 100 Servers - Physical .100 - .125

          Begin Virtual Server and Machine .130 - .160

          192.168.1.131 130 Servers - Virtual .130 - .160 
          192.168.1.132 130 Servers - Virtual .130 - .160   
          192.168.1.134 130 Servers - Virtual .130 - .160   
          192.168.1.135 130 Servers - Virtual .130 - .160 
          192.168.1.150 130 Servers - Virtual .130 - .160     
          192.168.1.156 130 Servers - Virtual .130 - .160       
          192.168.1.157 130 Servers - Virtual .130 - .160

          Begin Printers .200 - .225

          192.168.1.200 200 Printers
          192.168.1.201 200 Printers
          192.168.1.202 200 Printers
          ##Begin VOIP .230 - .245
          192.168.1.230 230 VOIP
          192.168.1.230 231 VOIP
          192.168.1.230 232 VOIP
          192.168.1.230 233 VOIP
          192.168.1.230 234 VOIP
          192.168.1.230 235 VOIP

          Begin DNS

          192.168.1.250 250 Servers - Virtual PDC-250.250         
          192.168.1.251 250 Servers - Virtual PDC-251.251

          pfSense Machine

          192.168.1.254 255    pfSense Router-Gateway

          Finally I saved the file and quit.  I refreshed in the GUI and it worked.

          Note: I know this may seem very trivial or noobish for most of you the steps I wrote here, however sometimes it takes 1 word or 1 phrase to help someone that may have helped develop the program.  I am sure someone can appreciate the steps being outlined.  ;)

          Hope this helps someone else.  I also did the realname.cfg in the same directory to get my computer names to show up on the report.  :P

          Thanks!
          Greg

          1 Reply Last reply Reply Quote 0
          • D
            dvserg
            last edited by

            Good job.  :)
            Sorry for my English

            SquidGuardDoc EN  RU Tutorial
            Localization ru_PFSense

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