Talk About Network

Google





Software > Linux Debian Maint Firewall > iptables rules ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 6 Topic 1597 of 1645
Post > Topic >>

iptables rules not persisting

by "Zach Uram" <netrek@[EMAIL PROTECTED] > Aug 12, 2008 at 06:00 AM

Hi,

I have a simple iptables firewall:

#!/bin/sh
iptables -A INPUT -i eth0 -m state --state INVALID,NEW -j DROP

I ran this as root and then verified the rules were applied with 'iptables
-L'

So I left the ssh session and came back the next day and I once again
did 'iptables -L'
to check my rules and this time they were gone.

How can I make sure my rules persist always?

Zach


-- 
To UNSUBSCRIBE, email to debian-firewall-REQUEST@[EMAIL PROTECTED]
 a subject of "unsubscribe". Trouble? Contact
listmaster@[EMAIL PROTECTED]

 




 6 Posts in Topic:
iptables rules not persisting
"Zach Uram" <  2008-08-12 06:00:11 
Re: iptables rules not persisting
Paolo <oopla@[EMAIL PR  2008-08-12 08:20:09 
Re: iptables rules not persisting
Ravshan <ravsh.mail@[E  2008-08-12 08:30:17 
Re: iptables rules not persisting
Paolo <oopla@[EMAIL PR  2008-08-12 08:50:09 
Re: iptables rules not persisting
Sathyainkara Balendra <  2008-08-12 09:50:09 
Re: iptables rules not persisting
Sathyainkara Balendra <  2008-08-12 09:50:15 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Fri Jan 9 15:03:19 PST 2009.