My forwarding works fine. I'm using the stock kernel for now, and I
believe it has ip_forwarding and whatnot enabled by default.
I bet i'm doing something silly with the rules.
I wish this was more intuitive :)
-Gabe
On Wed, 25 Apr 2001, Jan Wynholds wrote:
> Hey Gabe:
>
> I know for iptables you have to echo 1 to the special file
>
> /proc/sys/net/ipv4/ip_forward
>
> With all my ipchains/iptables scripts, at the very top I have:
>
> IPC = /usr/local/sbin/ipchains
>
> echo "1" > /proc/sys/net/ipv4/ip_forward
>
> $IPC -f ACCEPT
> $IPC -f FORWARD
>
> <SNIP>
>
> I am talking about redhatland here, but the same might apply to debian. Dunno
> tho. I know that in redhatland, you _must_ echo that 1 to that file, otherwise
> it doesn't matter what kind of rules you set up, because forwarding is not
> 'going on'.
>
> HTHO
>
> jan
>