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

    How to block Squid on pfsense, direct WAN access?

    Scheduled Pinned Locked Moved Firewalling
    2 Posts 2 Posters 1.5k 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.
    • J Offline
      Javik
      last edited by

      In general on pfsense 2.0.1, if you remove the default rule of allow all on the LAN side, does the pfsense firewall also restrict web access for squid itself, running on the pfsense firewall?

      Or does squid on pfsense always have full access to WAN ports regardless of pfsense's firewall config?

      ,

      I am having a problem with squid apparently bypassing an upstream parent proxy and apparently instead getting pages direct off the web.

      I say "apparently" because this may be a filtering problem with the upstream parent, too.

      ,

      On many firewalls it often seems like the firewall settings only apply to external clients connecting through the firewalled LAN port. Services directly installed on the firewall host are not filtered from WAN access.

      In such a situation it would be necessary to set up two pfsense in a string with firewall only on the first host, and squid on the second host attached to the first via a LAN port, for squid's WAN access to actually be blocked.

      ,

      Even if you can block squid from accessing the web with the firewall, it's not clear to me how to allow/restrict squid's access to the WAN side, since the firewall box itself has both WAN and LAN ports assigned to it, and technically the software on the firewall straddles a middle ground between both of those ports.

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

        @Javik:

        In general on pfsense 2.0.1, if you remove the default rule of allow all on the LAN side, does the pfsense firewall also restrict web access for squid itself, running on the pfsense firewall?

        Or does squid on pfsense always have full access to WAN ports regardless of pfsense's firewall config?

        If you are using squid in transparent mode it will bypass interface rules.

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

        Help a community developer! ;D

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