IP Forwarding

Kurt Neufeld (kneufeld@verity.com)
Thu, 17 Dec 1998 09:27:33 -0700


I've read all the howto's and looked at the configuration files on a
computer that works. I CANNOT forward packets.

I have eth0 connected to a cable modem and it works fine. I can surf.
I have eth1 connected to my intranet (192.168.5.1) and my windows boxes
connect to it just fine.

I cannot get from my windows box (192.168.5.2) out to the internet.

My ipfwadm script contains

# Start daemons.
/sbin/ipfwadm -F -f
/sbin/ipfwadm -F -p deny
/sbin/ipfwadm -F -a m -S 192.168.5.0/24 -D 0.0.0.0/0
echo
;;

and yes I have everything network related to YES in my kernel.

A few oddities though... Eth0 gets it's information by dhcp and it doesn't
add a default gw entry to the routing table. But even if I add it manually
with (route add default gw xx.xx.xx.1) it still won't forward/route packets
from my intranet.

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu