All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] routing to two interfaces
@ 2002-11-20 22:55 Paco Brufal
  2002-11-20 23:05 ` Martin A. Brown
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: Paco Brufal @ 2002-11-20 22:55 UTC (permalink / raw)
  To: lartc

Hello,

	Sorry if this question is very common, but I searched the
maillist archive and didn't found an answer...

	I have a linux box with 3 interfaces, 2 of them have public IPs
(eth1 and eth2), and the third is a private IP (our LAN). I want to do the
following: if a packet is coming from eth1, it must be forwarded to eth0,
and when it comes back, it must be routed to eth1. In case of packet comes
from eth2, it must be forwarded to eth0, and the respose must be routed to
eth2. In other words, a packet must leave our network by the interface it
come.

	I tried several combinations of iptables, 'ip rule' and 'ip
route', but it didn't work...

	I appreciate any help, thanks :)

-- 

...Raggabum (Dj Isaac Remix). Triplet. 1996
--- Debian + Mutt + Postfix
 * Origin: Web Page: http://pbrufal.kleenux.org (Fido 2:346/7.68)
 
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2002-11-21 18:28 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-20 22:55 [LARTC] routing to two interfaces Paco Brufal
2002-11-20 23:05 ` Martin A. Brown
2002-11-20 23:26 ` Robert Felber
2002-11-20 23:34 ` Robert Felber
2002-11-20 23:45 ` Martin A. Brown
2002-11-21  0:04 ` Robert Felber
2002-11-21  0:09 ` Robert Felber
2002-11-21  0:27 ` Paco Brufal
2002-11-21  0:38 ` Paco Brufal
2002-11-21  3:37 ` Martin A. Brown
2002-11-21  8:27 ` Arthur van Leeuwen
2002-11-21 18:28 ` Paco Brufal

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.