August 3rd, 2001

(no subject)

ok, i give...



#!/bin/sh

/sbin/depmod -a
/sbin/modprobe ip_masq_ftp
echo "1" > /proc/sys/net/ipv4/ip_forward
echo "1" > /proc/sys/net/ipv4/ip_always_defrag
/sbin/ipchains -M -S 7200 10 160
/sbin/ipfwadm -F -p deny
/sbin/ipfwadm -F -a m -W eth0 -S 192.168.0.2/32 -D 0.0.0.0/0
echo "Loading the rc.firewall ruleset.."



anyone have any idea why this above wouldn't start ip forwarding for the following situation: gateway box ip'ed to 192.168.0.1, the box that is trying to get out is .2, its netmask is 255.255.255.0. networking is up and working because .2 can telnet to .1 and get out from there, it just can't get out from itsself.

the gateway is a stock red hat 7 box running a 2.2.16-22 kernel.

any help will be forever appreciated...
  • Current Mood
    bah. this is why i don't even try to pretend that i'm a sysadmin.