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

    Blocking WAN route if ISP quota exceeded

    Routing and Multi WAN
    3
    5
    1.4k
    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.
    • M
      moonie
      last edited by

      Hi All,

      I'm looking to set up a multi-wan pfSense solution utilising a traditional ADSL service and 4G Wireless WAN connection. The 4G connection is going to be the preferred connection for general browsing traffic due to its higher capacity but there is a limit on the amount of data included per month (10Gb).

      I'm after a way that I can implement a block on the 4G WAN connection once the pfSense box has transmitted/received the 10Gb limit (recognising this needs to be set lower than the actual limit).

      Are there any known/working ways of doing this?

      Neither the ISP or the router support data quota capping.

      Cheers.

      1 Reply Last reply Reply Quote 0
      • G
        gjkrisa
        last edited by

        i also am trying to figure this out just for one wan ive seen mentions of using bandwidthd but have no idea how to use it.

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

          In my investigations I have found how to do this on linux using iptables, with iptables not being available on pfSense I then found the following post talking about IFPW which pfSense uses (obviously).

          http://lists.freebsd.org/pipermail/freebsd-ipfw/2005-July/001907.html

          Issue for me is I have no idea how to use ipfw and script it to work on pfSense without breaking anything else. Would anyone care to help work a solution for this… perhaps if it does work there is a possibility of getting it added to the GUI too?

          Moon.

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

            pfsense doesn't use ipfw as for general firewalling, it uses PF.
            afaik, ipfw is only used in the captive-portal

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

              So there would be no way of using ipfw on the WAN interface as well and using that to block once the quota had been reached?

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