[Madlug] linux vlan/bridge/router ?

digitek digitek at charter.net
Sun Sep 30 17:21:06 CDT 2007


Travis Sobeck said the following on 09/28/2007 09:20 PM:
> If you have 3 nics that makes things pretty straight
> forward.  At a bare minimum you can just enable
> forwarding and add a couple statements to iptables
> (FORWARD) that states allow traffic from eth0 to eth2
> and allow from eth1 to eth2 on whatever ports you
> need.  Simple set-up and low overhead.  You can get
> fancier, but if you have one nic for each subnet
> .......
> Unless I'm misunderstanding what you're trying to
> accomplish.

Nah that's about right.  Would the prerouting (nat) chain
have an advantage over the forward chain?  Prerouting
gets stuff first doesn't it?


-- 

digitek at charter.net
key id: 0xF6FA6D1E



More information about the Madlug mailing list