joyce (joyce) wrote,
joyce
joyce

  • Mood:
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...
Subscribe

  • (no subject)

    1. Monday during my first class, I started feeling that annoying catch in my chest; by Tuesday, I was down with a really nasty cold. I've spent the…

  • (no subject)

    Like a boss.

  • (no subject)

    Yuletide letter placeholder, ahoy!

  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 5 comments