Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Lightsquid IP2Name

    Scheduled Pinned Locked Moved pfSense Packages
    6 Posts 2 Posters 11.3k 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.
    • M
      manjula
      last edited by

      I have PFsence 1.2 installed.
      lightsquid config

      Bar color : Green
      Repot schema: Base
      IP REsolve method: SMB
      Refresh Schedule: 30mins
      Squid rotate log schedular : every 1 day

      I want to replace IPs to User or PC name in squid report. most real names has a ? mark while IP 2 and 3 has Sergey Erokhin and Tech Good respectively.
      I found a script for this but I have no idea how to do it. http://lightsquid.sourceforge.net/Ip2Name.html

      Anyone can help with this?
      Thanks…!!

      Manjula

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

        If you have local DNS server, you can use 'DNS' or 'Demo' IP resolve method.

        File /usr/local/etc/lightsquid/realname.cfg contains:

        192.168.1.2 Sergey Erokhin
        192.168.1.1 Jon Doe
        192.168.1.3 Tech Good

        SquidGuardDoc EN  RU Tutorial
        Localization ru_PFSense

        1 Reply Last reply
        Reply Quote 0
        • M
          manjula
          last edited by

          Thanks so much for the quick reply.
          We are not using local DNS we are using ISPs DNS. Can I edit /usr/local/etc/lightsquid/realname.cfg to predefine all real names though it is not really good?

          Manjula

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

            @manjula:

            Thanks so much for the quick reply.
            We are not using local DNS we are using ISPs DNS. Can I edit /usr/local/etc/lightsquid/realname.cfg to predefine all real names though it is not really good?

            Manjula

            I not sure, but try it.

            SquidGuardDoc EN  RU Tutorial
            Localization ru_PFSense

            1 Reply Last reply
            Reply Quote 0
            • M
              manjula
              last edited by

              thanks… It works I had to save the file with this command 'w!' and 'q' since this is a read-only file

              Manjula

              1 Reply Last reply
              Reply Quote 0
              • M
                manjula
                last edited by

                I have configured Transparent proxy and "Allow users on interface"  is selected on Proxy, and then my OPT1 goes down randomly. It doesn't happen when I remove the tick on "Allow users on interface" but I can get proxy reports when its not selected. 
                Can you tell me Where I have gone wrong?

                sorry use the same topic
                Manjula

                1 Reply Last reply
                Reply Quote 0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • First post
                  Last post
                Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
                Privacy Policy · Cookie Policy