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

    Shared web hosting and virtual hosts with squid and lightsquid.. or ?

    Scheduled Pinned Locked Moved pfSense Packages
    4 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.
    • N
      neyz
      last edited by

      Hello everyone,

      We are trying to setup a bandwidth monitoring system on our servers. Our setup is as follow :

      Internet
         |
      WAN VLAN
      PFSENSE
      LAN VLAN (default vlan)
         |
      SERVERS

      Hope this is not too confusing, it's a simple setup really, (we do have a second pfsense syncing with the first one and sharing a virtual IP)

      Anyway, the goal would be to monitor the bandwidth consumed by each virtual host we have on different servers behind pfsense. So i thought it would be possible to use squid, make it listen on the WAN link, configure it in transparent mode and use lightsquid to process the logs and get the information we needed.

      I have tried playing with the different options but the only thing i managed to get was traffic on the lan link (when i binded Squid to the lan link after trying the wan without success)

      Is it even possible to achieve what I want doing it this way or should i more try to implement something with the netflow package ?

      Thanks for your help !

      edit : Would a setup like that be dangerous ?

      1 Reply Last reply Reply Quote 0
      • N
        neyz
        last edited by

        I'm sorry to bump this thread guys but does anyone have any ideas on how to achieve the kind of monitoring we would like ?

        Thanks for any tips anyone could give me  ;D

        1 Reply Last reply Reply Quote 0
        • M
          mhab12
          last edited by

          Maybe some of this will help?
          http://forum.pfsense.org/index.php/topic,19496.0.html

          Also try searching as this has been brought up before…unless you're trying to see which WAN IPs are getting the most traffic?  Maybe you can run something on each web server.  I'm not very knowledgeable in that regard.

          1 Reply Last reply Reply Quote 0
          • N
            neyz
            last edited by

            Heh and thanks for the links.

            What we are trying to do is monitor WAN to LAN. Kinda like a reverse lightsquid in order to see what websites that we are host consume the most bandwitdh.

            We are using bandwithD but that only shows the traffic by IP adress and not by virtualhost, unfortunately, darkstat shows even less details :(

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