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

    WAN Simulator with limiters?

    Scheduled Pinned Locked Moved Traffic Shaping
    3 Posts 1 Posters 2.6k 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.
    • L
      l.capriotti
      last edited by

      Using pfsense 2.1, I have been trying to use implement a WAN simulator ie limiting up/down speed and introducing latency and packet loss, but so far I was not able to see any results.

      I have created floating rules as in http://forum.pfsense.org/index.php/topic,67012.msg367539.html#msg367539 and create per-NIC rules as well.

      Any help appreciated.

      1 Reply Last reply Reply Quote 0
      • L
        l.capriotti
        last edited by

        more details:
        I created "DownloadLimiter" with 300 Kbps BW, 300 ms delay, 0.01 packet and "UploadLimiter" with similar data:

        
        Limiters:
        00001:  30.000 Kbit/s   30 ms burst 0 
        q131073  50 sl.plr 0.010000 0 flows (1 buckets) sched 65537 weight 0 lmax 0 pri 0 droptail
         sched 65537 type FIFO flags 0x0 0 buckets 0 active
        00002: 300.000 Kbit/s  300 ms burst 0 
        q131074  50 sl.plr 0.010000 0 flows (1 buckets) sched 65538 weight 0 lmax 0 pri 0 droptail
         sched 65538 type FIFO flags 0x0 0 buckets 0 active
        
        

        I then created a firewall rule for the WAN interface, IPv4/ICMP/any to any/In=DownloadLimiter;Out=UploadLimiter.

        No effects when pinging a host on the WAN subnet from the LAN subnet.

        1 Reply Last reply Reply Quote 0
        • L
          l.capriotti
          last edited by

          FYI, the above is correct, it's only that changes are applied to new connections, ie if you have an endless ping running you don't see the changes (in latency for example) in realtime.
          Stop the ping, wait a few seconds and restart the ping  :-[

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