>>eth1 192.168.0.0/24 >>eth2 192.168.21.0/24 >>I would like block all traffic between eth1 and eth2. >>How to write a rule ? > >iptables -A INPUT -j REJECT -i eth1 -o eth2 >iptables -A INPUT -j REJECT -i eth2 -o eth1 Should have been -A FORWARD ...
>>eth1 192.168.0.0/24 >>eth2 192.168.21.0/24 >>I would like block all traffic between eth1 and eth2. >>How to write a rule ? > >iptables -A INPUT -j REJECT -i eth1 -o eth2 >iptables -A INPUT -j REJECT -i eth2 -o eth1 Should have been -A FORWARD ...