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

    Squid proxy not working after boot/WAN reconnect

    Scheduled Pinned Locked Moved pfSense Packages
    3 Posts 2 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.
    • S
      Steve Evans
      last edited by

      After boot or if my WAN connection drops and recovers I've found that my squid proxy isn't proxying. Changing the config (disabling and re-enabling transparent proxy, for example) kick starts it.

      I found that the "pfctl -sn" command reports the following when it's running:

      rdr on msk2 inet proto tcp from any to ! (msk2) port = http -> 127.0.0.1 port 3128
      

      but not when it isn't. After some googling I found that the service would be started if I executed the following:

      /etc/rc.filter_configure_sync
      

      I've now set this up as a cron job that runs every 15 minutes, but that's distinctly sub-optimal.

      Why is this necessary? Is this expected behaviour? Am I simply being impatient and it would recover in time?

      I'm running the nanobsd version; not sure if that's relevant.

      Steve

      1 Reply Last reply Reply Quote 0
      • marcellocM
        marcelloc
        last edited by

        What squid version are you using?

        Treinamentos de Elite: http://sys-squad.com

        Help a community developer! ;D

        1 Reply Last reply Reply Quote 0
        • S
          Steve Evans
          last edited by

          2.7.9 pkg v.4.3.3

          Is this a known problem?

          I was a bit hesitant to try other versions as I've tweaked the web interface somewhat as shown HERE.

          Thanks,

          Steve

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