in via or in recv
Sten Daniel Sørsdal
lists at wm-access.no
Fri Sep 2 02:39:34 PDT 2005
vladone wrote:
> Hi!
> What is difference between:
> 1. in via - in recv
> 2. out via - out xmit
> When need to use an variant or another?
>
via fxp0
will match a packet either coming in or going out on fxp0.
in via fxp0
will match a packet on the way in and comes in on fxp0.
out via fxp0
will match a packet on the way out and if the packet previously came in
on fxp0 or is now exitting fxp0.
recv fxp0
will match a packet that was received on fxp0
xmit fxp0
will match a packet that is exitting fxp0.
Use recv and xmit, via can be very misleading (imho).
"via fxp0" can also be written "{ recv fxp0 or xmit fxp0 }".
in/out has no relations to "via" as they are independant options.
--
Sten Daniel Sørsdal
More information about the freebsd-ipfw
mailing list