From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Subject: Re: forward is not forwarding Date: Fri, 06 Sep 2002 16:46:14 +1000 Sender: netfilter-admin@lists.netfilter.org Message-ID: <3D784F36.7020105@iprimus.com.au> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: IPtables Users Did you enable Kernel to do forwarding?? ie echo 1 > /proc/sys/net/ipv4/ip_forward Cheers, Michael Abraham Kim wrote: > Just installed RedHat, with two NICs, 10.1.1.1 and 192.168.1.1 each. > Added 2 rules in FORWARD, but I can't ping from 10.1.1.2 to > 192.168.1.2, vice versa. > (those 2 are Sun machines, got default route to 10.1.1.1 and > 192.168.1.1 each) > > iptables -i eth0 -o eth1 -A FORWARD -j ACCEPT > iptables -i eth1 -o eth0 -A FORWARD -j ACCEPT > > Did I miss anything simple here? > Should I arrange a routing module separately? > > Thanks in advance, > Abraham