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

    Squid local users

    Scheduled Pinned Locked Moved Cache/Proxy
    13 Posts 3 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.
    • Y
      yanafig
      last edited by

      I'm currently using squid local users for authentication before they can access the internet. How to prevent their accounts from sharing? Is it possible to lock it to single user only? My version is 2.4.5-p1

      Y 1 Reply Last reply Reply Quote 0
      • Y
        yanafig @yanafig
        last edited by

        Anyone willing to help? Or is it even possible? Thank you

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

          Check if this can help you:

          https://forum.netgate.com/topic/154741/squid-disable-multiple-sessions

          dead on arrival, nowhere to be found.

          1 Reply Last reply Reply Quote 0
          • viktor_gV
            viktor_g Netgate
            last edited by

            Feature request created:
            https://redmine.pfsense.org/issues/10725

            will be in the last squid package soon

            Y 1 Reply Last reply Reply Quote 1
            • Y
              yanafig @viktor_g
              last edited by

              @viktor_g Thank you. Will wait for the response.

              viktor_gV 1 Reply Last reply Reply Quote 0
              • viktor_gV
                viktor_g Netgate @yanafig
                last edited by

                @yanafig said in Squid local users:

                @viktor_g Thank you. Will wait for the response.

                You can test this PR: https://redmine.pfsense.org/issues/10725#note-1

                Y 1 Reply Last reply Reply Quote 0
                • Y
                  yanafig @viktor_g
                  last edited by

                  @viktor_g just tested it. I can still login to multiple devices.

                  viktor_gV 1 Reply Last reply Reply Quote 0
                  • viktor_gV
                    viktor_g Netgate @yanafig
                    last edited by

                    @yanafig Thanks for info!
                    PR updated & tested, now it works as expected!

                    Y 1 Reply Last reply Reply Quote 0
                    • Y
                      yanafig @viktor_g
                      last edited by yanafig

                      @viktor_g said in Squid local users:

                      @yanafig Thanks for info!
                      PR updated & tested, now it works as expected!

                      Still not working for me..

                      I input acl aclname max_user_ip -s 1
                      to the /usr/local/etc/squid/squid.conf.
                      I also restarted the squid service.

                      viktor_gV 1 Reply Last reply Reply Quote 0
                      • viktor_gV
                        viktor_g Netgate @yanafig
                        last edited by

                        @yanafig What typo of authentication you use? Local/RADIUS/LDAP ?
                        All what you need is set Authentication Max User IP value:
                        Screenshot from 2020-07-05 08-08-02.png

                        Then, if you try to open any webpage from 1+ IP, you will get:
                        Screenshot from 2020-07-05 08-14-18.png

                        access.log:

                        1593925969.983      1 192.168.88.101 TCP_DENIED/407 4274 GET http://yandex.ru/ - HIER_NONE/- text/html
                        
                        Y 1 Reply Last reply Reply Quote 0
                        • Y
                          yanafig @viktor_g
                          last edited by yanafig

                          @viktor_g0

                          I'm using local authentication

                          I dont have the Authentication Max User IP on my pfsense GUI Package>Proxy Server>Authentication

                          I have 2 pfsense version

                          Version 2.4.5-RELEASE-p1 (amd64)
                          built on Tue Jun 02 17:51:17 EDT 2020
                          FreeBSD 11.3-STABLE

                          and

                          Version 2.3.5-RELEASE-p2 (i386)
                          built on Thu May 10 15:03:18 CDT 2018
                          FreeBSD 10.3-RELEASE-p29

                          tried it on both pfsense versions. I dont know what Im missing.

                          1 Reply Last reply Reply Quote 0
                          • viktor_gV
                            viktor_g Netgate
                            last edited by

                            Please update Squid to 0.4.44_29

                            Y 1 Reply Last reply Reply Quote 0
                            • Y
                              yanafig @viktor_g
                              last edited by

                              @viktor_g That solves my problem on

                              Version 2.4.5-RELEASE-p1 (amd64)
                              built on Tue Jun 02 17:51:17 EDT 2020
                              FreeBSD 11.3-STABLE

                              I guess I need to upgrade the

                              Version 2.3.5-RELEASE-p2 (i386)
                              built on Thu May 10 15:03:18 CDT 2018
                              FreeBSD 10.3-RELEASE-p29

                              Thank you for you patience and support

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