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

    Wipe out SQUID3 config?

    Scheduled Pinned Locked Moved Cache/Proxy
    4 Posts 2 Posters 943 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.
    • B
      BlazeStar
      last edited by

      Using 2.2.2-RELEASE (amd64) with squid3 0.2.8 package.

      How is it possible to completely wipe ont SQUID3 config?

      I dried deleting and installing the package but the configuration stays.

      Thanks!

      1 Reply Last reply Reply Quote 0
      • B
        BlazeStar
        last edited by

        So… that's just impossible?

        1 Reply Last reply Reply Quote 0
        • J
          jaapb
          last edited by

          Try this, best to read the whole thread. Worked for me.
          Hope this helps.

          Jaap

          1 Reply Last reply Reply Quote 0
          • B
            BlazeStar
            last edited by

            So I've tried this :

            @jimp:

            To remove squid, squidguard, lightsquid, and anything else with 'squid' in its package name:

            foreach (array_keys($config['installedpackages']) as $sec) {
            	if (strpos($sec, "squid") !== false)
            		unset($config['installedpackages'][$sec]);
            }
            write_config("Removed all squid-related settings");
            
            

            And it did what I needed.

            THANKS!

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