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

    PfSense Proxy under VM Ware with multiple Vlan

    Scheduled Pinned Locked Moved Virtualization
    4 Posts 2 Posters 1.7k 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.
    • H
      haiz
      last edited by

      Hi Guys,

      a couple days ago, i was tried to install pfsense as proxy server (actually i was planned to use it as url filter with dansguardian or squidGuard) but I wasn't able to make the squid work.

      My topology was look like this

      Internet –-Cisco router (2901) ---Cisco 3850 (Core)----Cisco 2960
                                                                    |
                                                                    |
                                                      Mikrotik (Gateway)
                                                                    |
                                                                    |
                                                          pfSense Proxy

      I have cisco 3850 acting as a core switch and i configured the vlan interface in it. and then my mikrotik acting as a gateway and dhcp server and last, i put proxy under the mikrotik and capture all user traffic using nat so that can be handle by a proxy.

      When i activate the squid and nat user traffic on mikrotik, it always shows "invalid request". i've been wondering on the internet i can't seem to find the correct solution for my problem. Maybe you guys here know to solve my issue and can help me to get this done.

      Thank You

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by

        Why would you set it up like that, so you want hairpin traffic through 2 different devices..  Why do you think you need mikrotik?  In the mix?

        Also to be honest why even pfsense? While yes pfsense has a package for it squid. If all you want to do is use proxy.. Why not just setup a box as a proxy on whatever OS your more comfortable with… Pfsense is really meant to be your router/firewall...  Someone wrote a package for it to also allow you to leverage it as a proxy..

        If you were going to do
        internet - pfsense - yournetwork

        Then sure makes sense to run the proxy and content filtering on it... But in your setup I don't see how it makes sense at all..

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.7.2, 24.11

        1 Reply Last reply Reply Quote 0
        • H
          haiz
          last edited by

          well, thanks for the reply. about why i use pfsense. because want squid with "GUI". That's all.

          1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by

            So you want to run something you have no clue how to use at all is my take on that, and what amounts to a idiot proof setup.. What I would suggest is you understand how to properly place a proxy in your network before you think of running one..

            You have a cisco router and managed switches, you don't show any lan side but you do show another downstream switch and mention "core" are you doing layer 3 at the 3850?  Just at a loss to why you think to throw another router into the mix?  More than likely wccp would be well suited for your setup, when you don't want to put the proxy at the edge.

            https://en.wikipedia.org/wiki/Web_Cache_Communication_Protocol

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.7.2, 24.11

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