On Sat, Mar 10, 2001 at 12:03:02PM +0100, [EMAIL PROTECTED] wrote: > Hi! > > My recommendation: > > log in as root and > 1. cd /etc/init.d > 2. vi ipchains (to create this new file) > 3. put your ip_forward code into it, and you have place here for your > firewall rules. > 4. exit vi > 5. chmod u=rwx ipchains > 6. chmod g=rx ipchains > 7. chmod o=rx ipchains > > Now at boot time your firewall will be started.
whoops -- you need to make some links into the /etc/rc*.d/* areas that actually call the /etc/init.d/* scripts: man update-rc.d for example. but for the task at hand, easiest thing to do is apt-get install ipmasq $EDITOR /etc/network/interfaces ipmasq -v done! -- It is always hazardous to ask "Why?" in science, but it is often interesting to do so just the same. -- Isaac Asimov, 'The Genetic Code' [EMAIL PROTECTED] http://newbieDoc.sourceforge.net/ -- we need your brain! http://www.dontUthink.com/ -- your brain needs us!