if you look up NAT masq and iptables you'll find all the information you need
A good place to start is http://www.tldp.org/HOWTO/IP-Masquerade-HOWTO/ Sincerely, John T. Williams [EMAIL PROTECTED] ----- Original Message ----- From: "J S" <[EMAIL PROTECTED]> To: "linux-newbie" <[EMAIL PROTECTED]> Sent: Thursday, May 29, 2003 11:08 PM Subject: Linux as a router and/or bridge > Linux people, > > I'm trying to understand how to set up a Linux system as a router. For > example, assume I have an interface with IP address 192.168.0.1(eth0) > and another with IP address 192.168.1.1(eth1). What do I need to do to > allow traffic received on one interface to be automatically forwarded > out of the other interface? To extend the example, assume eth0 receives > a packet from 192.168.0.25 that is destined for 192.168.2.40. What is > the minimal set of steps I need to perform in order to get my kernel to > send that packet on its way? > > Second question, what exactly is network bridging and how might I use it > instead of setting up a Linux system as a router? > > Josh > > - > To unsubscribe from this list: send the line "unsubscribe linux-newbie" in > the body of a message to [EMAIL PROTECTED] > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.linux-learn.org/faqs - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
