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 <[EMAIL PROTECTED]>
Para: Debian-User <[EMAIL PROTECTED]>
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.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Reply via email to