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

Re: Nat & startup



Adrian wrote:

Greg! thanks a lot! it worked fine!!!
Do you know how to add any other thing to the startup? (like any script?)
I heard about init.d could it be possible?
Thanks again, Adrian

Urrghh... please don't top-quote!

You need to create a script in init.d, then run update-rc.d to add it to the default runlevel.

--
Greg

----- Mensaje original -----
De: Greg Bolshaw <greg@linuxtechnologies.co.uk>
Para: Debian-User <debian-user@lists.debian.org>
Enviado: Miércoles 1 de Octubre de 2003 09:56
Asunto: Re: Nat & startup
>
Adrian wrote:


I configure NATing, but every time i restart debian i have to type de

nat

commands again.
How can i configure it for running at startup?

Assuming you're using iptables to do the NATing, just
`/etc/init.d/iptables save active` and the rules will be automatically
loaded each time iptables is started.



Reply to: