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

    Can pfSense emulate a bad WAN?

    General pfSense Questions
    3
    4
    5.3k
    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.
    • Q
      qc1241
      last edited by

      Hello,

      I'd like to emulate a bad WAN connection over some bridged nics to test a client/server app I'm building.  Looking to test packet-loss, jitter, latency, and bandwidth limits.

      I found a couple of Linux based bootable iso's that can do this, but I'm wondering if pfSense can do the same.

      Assuming that pfSense can handle it with out much fuss, this might be a good excuse to get familiar with the system.  Been meaning to try pfSense for a while.

      Can it be done?

      Thank you

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

        Firewall > Traffic Shaper, Limiters tab.

        Check the advanced options.

        Direct the traffic for that app/server into a pair of limiters (one for upload, one for download) and you can tinker with all sorts of bandwidth/loss/delay there.

        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
        • Q
          qc1241
          last edited by

          Ahh. I see it.  Thank you.

          How can I set this up to work as an Ethernet bridge?

          Basically:

          1. 2 nics that are bridged.
          2. No DHCP, etc. services being offered to either port, obviously.
          3. Access to the web interface from machines on either side of bridge. Management IP from existing DHCP server.
          4. Traffic being limited/shaped as it traverses the bridge.

          I see bandwidth, delay, and loss.  Excellent. :)  However, just wondering, does the shaper also support: jitter, duplication, reordering, and corruption?

          Thank you

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            Limiters in pfSense use dummynet, so presumably can support anything it can. Though not all of it via the gui I suspect.

            Steve

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