All of lore.kernel.org
 help / color / mirror / Atom feed
* multiple external interfaces
@ 1999-01-11 17:13 James Stickland
  2002-10-31 22:09 ` Anders Fugmann
  0 siblings, 1 reply; 2+ messages in thread
From: James Stickland @ 1999-01-11 17:13 UTC (permalink / raw)
  To: netfilter

[-- Attachment #1: Type: text/plain, Size: 1224 bytes --]

what i am currently trying to do is have my router masquerade multiple external interfaces to multiple internal ethernets.

I have two ppp connections: one over ethernet (dsl), and the other over serial (pots line dialup).

the dsl line is basically for my servers, it looks like this

internet--dsl-->ppp0(eth0)-->router-->eth1-->server switch-->computers

this ethernet works fine, and all iptables rules written for it work fine. (filtering and NATing)  new or established packets are taken in, then forwarded along eth1 to the corresponding class c ip on the server network.

however, i would like to run my client/workstation's internet connection from the same router, but using different external interface and internal ethernet.
for example, i would like the pots dialup line interface masqueraded to eth2, so that all computers connected to eth2 use the ip address of the ppp device connected to dialup.

here is how i vision it:

internet--dial_up-->ppp1(/dev/ttyS3)-->router-->eth2-->crossover_cable-->client

could anyone help me in doing so?  is it just a matter of some additional iptables entries, or does this run deeper? please help, and cc reply directly to jamesstickland@sympatico.ca


[-- Attachment #2: Type: text/html, Size: 2439 bytes --]

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

end of thread, other threads:[~2002-10-31 22:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-01-11 17:13 multiple external interfaces James Stickland
2002-10-31 22:09 ` Anders Fugmann

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.