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)

    So the plan for today had originally been to do a little barbecue with Hope and Faith and my parents today, but the events of the weekend threw of…

  • (no subject)

    Today: cook-out at jeni's and huxley_boy's, to meet the other members of the wedding party. Too much good food, much fun. :)…

  • (no subject)

    Yesterday morning was the farmer's market: a green pepper, tomatoes, potatoes, salad greens, eggs, and an amazing looking sirloin tip roast big…

  • 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