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
The best way to do this is probably by using the netem kernel module. See here for more detail. It will allow you to do any and all of the above and then some. This has been part of the linux kernel since 2.6, so should be available in just about any distro by now.
It seems that both PFSense and m0n0wall support dummynet traffic shaper.