From: ads nat Subject: iptables-restore help Date: Sat, 27 Sep 2003 23:58:17 -0700 (PDT) Sender: netfilter-admin@lists.netfilter.org Message-ID: <20030928065817.34041.qmail@web20714.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0-740554391-1064732297=:32352" Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: To: netfilter@lists.netfilter.org --0-740554391-1064732297=:32352 Content-Type: text/plain; charset=us-ascii Hi, I am learning to use iptables. I have gone through FAQ and tutorials but have two problems : 1) I can create rules, delete rules, save rules with "iptables-save" command. But can not use "iptables-restore" properly. my iptables file is in at /etc/sysconfig/iptables I am using Redhat Linux 8.0, iptables 1.2.6a version. Whatever rule I have saved goes off when i reboot system. As I have understood after using "iptables-restore" command, it should save rules in /etc/sysconfig/iptables file. So that when system reboots automatically it will be implimented. 2) I have set rule "iptables -A INPUT -i eth0 -m state --state NEW -m limit --limit 1 -j LOG" so that i can go through logs of NEW users tryong to connect to server. These are saved in which file? Help appreciated. Thanks --------------------------------- Do you Yahoo!? The New Yahoo! Shopping - with improved product search --0-740554391-1064732297=:32352 Content-Type: text/html; charset=us-ascii
Hi,
I am learning to use iptables.
I have gone through FAQ and tutorials but have two problems :
 
1) I can create rules, delete rules, save rules with "iptables-save" command. But can not use "iptables-restore" properly. my iptables file is in at /etc/sysconfig/iptables
I am using Redhat Linux 8.0, iptables 1.2.6a version.
 
Whatever rule I have saved goes off when i reboot system. As I have understood after using "iptables-restore" command, it should save rules in /etc/sysconfig/iptables file. So that when system reboots automatically it will be implimented.
 
2) I have set rule "iptables -A INPUT -i eth0 -m state --state NEW -m limit --limit 1 -j LOG" so that i can go through logs of NEW users tryong to connect to server. These are saved in which file?
Help appreciated.
 
Thanks 
 
 


Do you Yahoo!?
The New Yahoo! Shopping - with improved product search --0-740554391-1064732297=:32352--