first store iptable 
you get the commands with man iptables
then add following line 
iptables-restore < root/iptables/iptables
to the rc.local file in the etc directory


--- On Tue, 12/8/08, Paolo <[EMAIL PROTECTED]> wrote:
From: Paolo <[EMAIL PROTECTED]>
Subject: Re: iptables rules not persisting
To: [email protected]
Date: Tuesday, 12 August, 2008, 6:42 AM

On Tue, Aug 12, 2008 at 11:23:30AM +0500, Ravshan wrote:
> Also you have to check system's uptime. May be you system was
> restarted and all iptables rules were flushed

ssh session survive sshd restart, but likely won't survive (whole system) 
reboot ;)

-- 
paolo


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

Send instant messages to your online friends http://uk.messenger.yahoo.com 

Reply via email to