tiggr <(E-Mail Removed)> wrote:
> There are three ethernet interfaces eth0, eth1 and eth2 on my Linux
> system. I enabled ip forwarding so the ip packet can be routed between
> any pair of these three interfaces. Now, I want to disable ip forwarding
> only between eth1 and eth2. What should I do?
Use iptables and block the traffic:
iptables -A FORWARD -i eth1 -o eth2 -j REJECT
iptables -A FORWARD -i eth2 -o eth1 -j REJECT
Ciao, Horst
--
»When pings go wrong (It hurts me too)« E.Clapton/E.James/P.Tscharn
|