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

Re: iptables rules not persisting



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 <oopla@users.sf.net> wrote:
From: Paolo <oopla@users.sf.net>
Subject: Re: iptables rules not persisting
To: debian-firewall@lists.debian.org
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 debian-firewall-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org


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