Normally, no. IP packets have no memory of what route they took going
to a destination. But, you could probably set IP header flags such as
DSCP (type of service) then check them later.

On Tue, 5 Oct 2004 23:03:40 -0700 (PDT), plug bert <[EMAIL PROTECTED]> wrote:
> Hi All!
> 
> Given this setup:
> 
> pc1,pc2 <---> router1 <--> router2
> 10.0.0.3      10.0.0.2     10.0.0.1
> 
> Is it possible to use iptables such that router2 will
> only accept packets that were forwarded by router1,
> and then drop everything else(pc1,pc2)?
--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to