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

    Squid > pfsense

    Scheduled Pinned Locked Moved Firewalling
    3 Posts 2 Posters 2.4k 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 Offline
      ylem
      last edited by

      Hi guys,

      need your help on how to setup, i had my separate squid server that will connect to my pfsense router. here's it is.

      vlans > squid server > pfsense

      vlans:
      192.168.3.0/24
      192.168.4.0/24
      192.168.5.0/24

      squid:
      192.168.10.5

      pfsense:
      em0 - 192.168.1.0/24
      em1 - WAN
      em2 - pfsync
      em3 - VLAN

      questions:
      1. what gateway will my vlan to use that will pass to my squid server
      2. where can i configure to route all vlans to use the gateway of the squid
      3. do i need to have more interface cards in my squid server
      4. any suggestions with the setup?

      thank you for your time.

      ylem

      1 Reply Last reply Reply Quote 0
      • L Offline
        lint
        last edited by

        There are a lot of solutions for this, but really depends on your local setup.

        For your VLANs, do you have routing switches?

        If so, it will make it easier as you can set the default route on the core switch to the squid server.  Then the squid will point to the firewall.  At this point, I would setup outbound filtering so that only your Internet services and squid server are allowed to connect to the Internet.

        Otherwise, you may look at using the squid service on the firewall if you use the firewall for your VLAN configuration.

        1 Reply Last reply Reply Quote 0
        • Y Offline
          ylem
          last edited by

          Do I need to setup multiple NIC on my squid server for each subnets of VLANs?

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