[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

rc.boot not booting!



Hi All,

>From my understanding, any scripts that are located in the /etc/rc.boot
directory should be executed on booting. And most of the scripts I have
in there seem to do that.

However, I have a script to set up everything for IP Masquerading in
rc.boot, and this doesn't seem to run. It works fine if I run it
manually, but it seems to be ignored in rc.boot.

Maybe it's the script itself, or something about it. I have included it
below - if anyone has any suggestions, I'd be interested in hearing
them!

Thanks,

damon

(BTW, this is on a (mostly) hamm system (with a little bit of slink),
running a 2.0.35 kernel.)

rei$ cat /etc/rc.boot/rc.masq 
#!/bin/sh

# PATH=/sbin:/bin:/usr/sbin:/usr/bin

echo Setting up IP Masquerading...

/sbin/depmod -a
/sbin/modprobe ip_masq_irc
# /sbin/modprobe ip_masq_quake
/sbin/modprobe ip_masq_raudio
/sbin/modprobe ip_masq_ftp

/sbin/ipfwadm -F -p deny
/sbin/ipfwadm -F -a m -S 10.0.0.0/24 -D 0.0.0.0/0

# This line is to enable IP accounting for PPP
/sbin/ipfwadm -A -i -P all -W ppp0

# Enable ICQ properly over IP Masq
/usr/sbin/ipautofw -A -r tcp 2000 2020 -h 10.0.0.100

--
Damon Muller              | Did a large procession wave their torches
(damon@empire.net.au)     | As my head fell in the basket,
Network Administrator     | And was everyone dancing on the casket...
EmpireNET                 |                      - TBMG, "Dead"


Reply to: