On 01-Feb-99 Bob Hartung wrote:
> All,
> 
> I have managed to get diald and masquerade working from the command
> line.  Now as a relative newbie to Linux I need to show my ignorance of
> the boot process.  I do not know what to put in the rc.local file or
> other files to autostart diald when I boot up the machine.  I know what
> to put in for my simple forwarding rules but I'm not sure if they just
> go into rc.local or some other rc?? file.

I have the following in my /etc/rc.d/rc.local

/etc/rc.d/rc.firewall  # the file with my ipfwadm rules
/usr/sbin/diald        # to start diald when the machine boots


rc.firewall contains:


#!/bin/sh
# IP Masquerade
/sbin/ipfwadm -F -p deny 
/sbin/ipfwadm -F -o -a m -S 192.168.1.0/24 -D 0.0.0.0/0 
# 
and other ipfwadm rules.

--
Andrew

-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to