Date: Fri, 10 May 2002 09:28:04 -0700 From: rick norman <rick.norman@lmco.com> To: freebsd-ipfw@freebsd.org Subject: [Fwd: ipfw and aliases] Message-ID: <3CDBF514.EBADB9E2@lmco.com>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --Boundary_(ID_omZN7cLyAGRu7Cvsdr3oSQ) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT --Boundary_(ID_omZN7cLyAGRu7Cvsdr3oSQ) Content-type: message/rfc822 Date: Fri, 10 May 2002 09:27:05 -0700 From: rick norman <rick.norman@lmco.com> Subject: Re: ipfw and aliases To: Robert bobb Crosbie <bobb+freebsd-ipfw@redbrick.dcu.ie> Message-id: <3CDBF4D9.BE5AA279@lmco.com> MIME-version: 1.0 X-Mailer: Mozilla 4.79 [en] (WinNT; U) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT X-Mozilla-Status2: 00000000 X-Accept-Language: en References: <3CDB2CED.DCC3092F@lmco.com> <20020510111532.A33197@flipflop.tchpc.tcd.ie> I tried that but via with an ip addr catches all the aliases going out the interface, not just the requested one. Any other ideas ? Rick Robert bobb Crosbie wrote: > rick norman hath declared on Thursday the 09 day of May 2002 :-: > > Is it possible to write a firewall rule for a router with one interface > > with multiple aliased ip > > addresses that will grab pkts based on the IP_alias they are routed in > > or out on, rather than the src or des address of the pkt. It looks as > > tho the 'via' qualifier lumps all the aliases for an interface > > together. I would like to grab pkts, not based on the src and des > > contained in the packet, but rather based on which IP_alias it is going > > to be sent out on. > > You can use via with an IP address or interface. > > - bobb --Boundary_(ID_omZN7cLyAGRu7Cvsdr3oSQ)-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CDBF514.EBADB9E2>