View Single Post
  #2 (permalink)  
Old 03-02-2009, 04:49 PM
nixcraft's Avatar
nixcraft nixcraft is offline
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,709
Thanks: 11
Thanked 244 Times in 183 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

The traffic between eth0 and eth1 will be routed only if you enable IP forwarding and use iptables to setup Linux as a router. You do not need two Linux PCs. A single computer with two network card can act as proxy and router.

|xp1
|xp2
|xp3
|
Lan switch
|
|
eth0
------
Linux Box
------
eth1 ---> Internet

Your Linux box can act as firewall, proxy and NAT device. It will protect LAN from the Internet problems and attacks.
How to setup Linux as a router for DSL, T1 line etc
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote