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

    Layer7

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    48 Posts 8 Posters 18.3k 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.
    • C
      clarknova
      last edited by

      @Steve:

      I tried squid before but Lordy did it slow down the whole network.

      Is there a reference on squid and pfsense? I could have easily bungled the whole thing.

      http://forum.pfsense.org/index.php/topic,7186.msg59302.html#msg59302
      http://doc.pfsense.org/index.php/Squid_Package_Tuning

      Try those. I've been quite happy with squid on 1.2.3, but it did require some tweaking as per above. I think some of the noted changes are automatically adjusted in 2.0.

      db

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

        Nice, thanks, but would you know of any decent "tutorials" on how to work with squid? Or should I stick to what's available on their site?

        Also, a question that is begging to be answered now is whether anyone knows if PFsense 2.0 is coming out with an answer to my predicament in its release build?

        1 Reply Last reply Reply Quote 0
        • C
          clarknova
          last edited by

          @Steve:

          Nice, thanks, but would you know of any decent "tutorials" on how to work with squid? Or should I stick to what's available on their site?

          You might try this one. It's not really in-depth, as I recall, and he's running it on Linux rather than pfsense, but it's the only thing I know of off hand.

          http://www.anandtech.com/show/3715/family-proxy

          db

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            @Steve:

            Nice, thanks, but would you know of any decent "tutorials" on how to work with squid? Or should I stick to what's available on their site?

            There is a lot of info here on the forum, and also on the doc wiki:
            http://doc.pfsense.org/index.php/Setup_Squid_as_a_Transparent_Proxy
            http://doc.pfsense.org/index.php/SquidGuard_package

            But they don't cover doing what you are asking originally

            @Steve:

            Also, a question that is begging to be answered now is whether anyone knows if PFsense 2.0 is coming out with an answer to my predicament in its release build?

            What you want to do, route traffic based on hostname, is best accomplished by a lightweight reverse proxy of some kind, not necessarily squid. There are packages for haproxy, mod_security, and varnish, I believe they can all do this.

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • S
              Supermule Banned
              last edited by

              Layer7 is application layer….not only for routing, but defending of unwanted traffic and hacking....That is why it is so effective!

              1 Reply Last reply Reply Quote 0
              • E
                eri--
                last edited by

                That is why it is so effective!

                I do not agree with you but hey anybody buys what fits him.

                1 Reply Last reply Reply Quote 0
                • S
                  Supermule Banned
                  last edited by

                  That was a very informative post…:(

                  Could you give examples of WHY NOT?

                  @ermal:

                  That is why it is so effective!

                  I do not agree with you but hey anybody buys what fits him.

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

                    @Steve:

                    Also, a question that is begging to be answered now is whether anyone knows if PFsense 2.0 is coming out with an answer to my predicament in its release build?

                    What you want to do, route traffic based on hostname, is best accomplished by a lightweight reverse proxy of some kind, not necessarily squid. There are packages for haproxy, mod_security, and varnish, I believe they can all do this.

                    Which in a roundabout way says that PFsense will not be implementing something like this, right? : ;)

                    Well, I've decided to take a second swing at squid since I don't want to mess up the system by installing something else from the command line.  Call me a scaredy-cat.

                    Off topic:
                    Excellent job on the guide. Its sitting right in front of me on the desk :)

                    1 Reply Last reply Reply Quote 0
                    • S
                      Supermule Banned
                      last edited by

                      True L7 is what could make pFSense into a full blown firewall…..

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

                        Here's hoping because I really hate ISA.

                        1 Reply Last reply Reply Quote 0
                        • S
                          Supermule Banned
                          last edited by

                          ISA is one of the best security gateways around. But its a pain to setup and master…..because it is so advanced. But if you have set it up correctly, you would eliminate MSN bots, spyware and viruses coming in via the application layer...Because it goes thorugh the packet coming in, instead of just routing it. PF acts as a frontend for me, with several ISA's running behind handling different sorts of traffic. Web is one ISA, mail is another....asf. Very effective and it minimizes the attacksurface and downtime.

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

                            No arguing how good ISA is, I just hate it.

                            1 Reply Last reply Reply Quote 0
                            • S
                              Supermule Banned
                              last edited by

                              I know what you mean :o

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

                                OK,  I'm back [queue ta da].

                                I've been bashing my head on this for too long.

                                I've setup ISA, now how the heck does it get configured as a reverse proxy without being a firewall? Also, how the heck do I forward queries from PFsense to ISA for all traffic coming in from the WAN?

                                I thank you for putting up with me!

                                1 Reply Last reply Reply Quote 0
                                • S
                                  Supermule Banned
                                  last edited by

                                  You just NAT to the WAN interface of ISA from the LAN side of pfsense…...

                                  Regarding the reverse proxy...let it use the firewall capability of ISA to handle L7 traffic to and from the reverse proxy. Thereby you dont get any unwanted traffic in to the servers.

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

                                    So the network would end up like so:

                                    LAN
                                    WAN –----- PFsense -------- ISA ------- Subnet

                                    But in this case, how am I supposed to route to the DMZ?  My network is like so:

                                    Subnet
                                                          |
                                                          | (Wireless)
                                                          |
                                                          |          LAN
                                    WAN ------- PFsense -------- ISA ------- Subnet
                                                          |
                                                          | DMZ
                                                          |
                                                        Subnet

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      Supermule Banned
                                      last edited by

                                      Give ISA an extra interface called DMZ and route the traffic through ISA instead. :)

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

                                        I really hate ISA…

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          Supermule Banned
                                          last edited by

                                          I did to….until I got to know it. It is difficult, but a fantastic tool!

                                          PFSense would be a firewall to be deployed in many a company, if they got L7 implemented in an intuitive way.

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

                                            Well, yeah, though I'd say "L7 implemented".

                                            It got me thinking, because I've seen quite a number of posts about this issue on the forums, it might be worthwhile writing an app that does L7 routing/reverse proxy for PFsense when I finish the current contract and have some free time on my hands.

                                            Or perhaps a packaging of Pound.

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