Re: [LARTC] Mark packets based on nexthop?

2003-01-30 Thread Jose Luis Domingo Lopez
On Wednesday, 29 January 2003, at 14:35:41 +0200,
Anton Yurchenko wrote:

> is there a patch or a way to mark packets with IPtables marking based on 
>  the nexthop for the packet?
> 
You can mark packets on the FORWARD chain (mangle table), based on the
outgoing interface (there should be a one-to-one association of outgoing
interface to nexthop IP).
iptables -t mangle -A FORWARD --out-interface eth0 --jump MARK --set-mark 1

Hope it helps.

-- 
Jose Luis Domingo Lopez
Linux Registered User #189436 Debian Linux Sid (Linux 2.4.20-xfsip)
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/



[LARTC] Mark packets based on nexthop?

2003-01-29 Thread Anton Yurchenko
hello,

is there a patch or a way to mark packets with IPtables marking based on 
 the nexthop for the packet?

Thnks
--

Anton Yurchenko<[EMAIL PROTECTED]>
Digital Generation

___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/