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

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.

| Greg Bolshaw           E-Mail:  greg@linuxtechnologies.co.uk |
| Director             Web Site:  www.linuxtechnologies.co.uk  |
| Linux Technologies    PGP Key:  0x3DE51D89                   |
|   Linux and Open Source Solutions Provider based in the UK   |

Reply to: