[LARTC] Ssh flow does not go into correct class. Help!
Catalin(ux aka Dino) BOIE
util@deuroconsult.ro
Wed, 26 Jan 2005 14:42:14 +0200 (EET)
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
---1646943047-351355836-1106743334=:11539
Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8BIT
On Wed, 26 Jan 2005, CcM wrote:
> It does work! Thanks!
> But many articles write like what I did, what's the difference between POSTROUTING and PREROUTING. I mean I know these are two hook point in ip stack, but why should be POSTROUTING here when do mangle?
>
> "Catalin(ux aka Dino) BOIE" <util@deuroconsult.ro> wrote:
> Use:
> iptables -t mangle -A POSTROUTING -p tcp -m tcp --sport 22 -j MARK \
> --set-mark 20
Because local generated packets doesn't go through PREROUTING.
But, best is to use OUTPUT.
>
> ---
> Catalin(ux aka Dino) BOIE
> catab at deuroconsult.ro
> http://kernel.umbrella.ro/
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>
>
>
> ---------------------------------
> Do You Yahoo!?
> 注册世界一流品质的雅虎免费电邮
---
Catalin(ux aka Dino) BOIE
catab at deuroconsult.ro
http://kernel.umbrella.ro/
---1646943047-351355836-1106743334=:11539--