On Fri, 14 Jan 2005 17:25:42 -0800, Garrett <glc at c dash email dot com> wrote:
> Does m0n0 apply the traffic shaper rules before or after any network address translation occurs?
>
From looking at Manuel's PR's to FreeBSD with the m0n0wall patches
that change ordering, I believe it's ipfw -> ipnat -> ipfilter on
outgoing, and reverse that on incoming. (ipfw == traffic shaping,
ipnat == NAT, ipfilter == fw rules)
So if you're talking LAN hosts going out to the internet, traffic
shaper applies before NAT. If you're talking traffic coming into the
internet, it also applies before NAT (i.e. will still have whatever
public IP as source)
-Chris |