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

> my internal nic is eth0, and the external one is eth1.
> With these rules, no packets go in or out?
> 
> What am I missing?
> 
> thanks
> -Gabe
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

Reply via email to