A Router-like setup
I was wondering how I might go about setting up a "LAN within a LAN" of sorts. Here's what I want to do: I'd like to have my laptop set up so that its sole purpose is to take traffic from one interface, and it send it to the next interface. (i.e. take all traffic coming in on eth0 and send it to eth1) and vice-versa
From reading the iptables man pages, I've come up with:
but for some reason I don't think that's right.
iptables -A FORWARD -i eth0 -o eth1
Does anybody here have any suggestions?
Thanks a lot!
I've tried this conf some times ago with RH 6.2
you can make it work with route