Use pfsense or m0n0wall to simulate packet loss and jitter

jitterpfsensewide-area-network

Can I use pfsense or m0n0wall to simulate WAN-like packet loss, jitter, duplication, and reordering?

I see questions looking for dedicated solutions like:
What tool(s) can I use to simulate a WAN for HTTP traffic?

But, I'd like to know if it can be done with a regular router distro too. Ideally as a transparent Ethernet bridge, not an actual router.

Thank you

Best Answer

It seems that both PFSense and m0n0wall support dummynet traffic shaper.

dummynet is a tool originally designed for testing networking protocols, and since then used for a variety of applications including bandwidth management. It simulates/enforces queue and bandwidth limitations, delays, packet losses, and multipath effects.