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)

    Like a boss.

  • (no subject)

    Yuletide letter placeholder, ahoy!

  • (no subject)

    I did Not Prime Time this year, which made me actually write something for the first time since Yuletide. It was fun! It was also a lot more low key…

  • 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