gabriel rosenkoetter on Thu, 22 Nov 2001 19:30:13 +0100


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

Re: [PLUG] IPMASQ (Debian Way)


On Thu, Nov 22, 2001 at 08:23:39AM -0500, Naresh Reddy wrote:
> I am trying to set up IP-MASQUERADE on Debian 2.2_R3. My script is fine,
> but everytime I boot to my system, I have to run it manually
> (rc.firewall-2.4). Then I have to type in 'ipmasq' to enable all the
> ipmasq. Is there a way to automatically do this?

# cat > /etc/rc2.d/S99ipmasq
#!/bin/sh
if [ -x /path/to/ipmasq ]
	/path/to/ipmasq
fi
# chmod 744 /etc/rc2.d/S99ipmasq

-- 
       ~ g r @ eclipsed.net

Attachment: pgpEdJfXaNKfz.pgp
Description: PGP signature