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)

    Things improved. Class wasn't bad. We had good dicussions (culture and ethnocentrism will do that.) I had a meeting at 3 that I didn't know about…

  • (no subject)

    So, if I pull out of the driveway at 7:15, I can get down to school, get in the pool, swim for half an hour, get out of the pool, get showered and…

  • this and that...

    I am getting back in the habit of exercising. My body is grumpy, but appreciative. This week, it was walking on Monday and Tuesday, swimming and…

  • 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