Navigation

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

    Basing gateway status on something other than ping/loss

    Routing and Multi WAN
    1
    2
    471
    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.
    • J
      Jckf last edited by

      Hello, forum! Long time listener, first time caller here ;) I recently installed a pfSense router at the in-laws' to do load balancing between their two Internet connections. One is cellular, and the other is a KASAT uplink. Both of these connections have a monthly bandwidth cap, which when exceeded causes the available bandwidth to be limited. This leaves the connection effectively useless, but Apinger does not detect any trouble as the link is still up and able to ping remote hosts. In turn, this makes pfSense route traffic over the capped connection, which slows the perceived speed of the entire setup.

      My question is this: Is it possible to have Apinger (or a script) base the gateway status on something like the time it takes to make a web request instead of just ping and/or packet loss?

      1 Reply Last reply Reply Quote 0
      • J
        Jckf last edited by

        Shamelessly bumping my own thread ;) I've started developing a PHP class that lets you programmatically connect to the WebConfigurator to make changes. It's very low-level at the moment, but it working very well :) I plan to use it together with a simple wget operation that tests the responsiveness of each WAN interface, to automatically disable routing of traffic across a capped connection. Unless there are better options available, I might release this code.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        Products

        • Platform Overview
        • TNSR
        • pfSense
        • Appliances

        Services

        • Training
        • Professional Services

        Support

        • Subscription Plans
        • Contact Support
        • Product Lifecycle
        • Documentation

        News

        • Media Coverage
        • Press
        • Events

        Resources

        • Blog
        • FAQ
        • Find a Partner
        • Resource Library
        • Security Information

        Company

        • About Us
        • Careers
        • Partners
        • Contact Us
        • Legal
        Our Mission

        We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

        Subscribe to our Newsletter

        Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

        © 2021 Rubicon Communications, LLC | Privacy Policy