Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Daniel Chemko <dchemko@smgtec.com>
To: ads nat <adsnat@yahoo.com>
Cc: netfilter@lists.netfilter.org
Subject: Re: iptables-restore help
Date: Sun, 28 Sep 2003 00:30:07 -0700	[thread overview]
Message-ID: <3F768DFF.1040802@smgtec.com> (raw)
In-Reply-To: <20030928065817.34041.qmail@web20714.mail.yahoo.com>

[-- Attachment #1: Type: text/plain, Size: 1425 bytes --]

iptables doesn't inherently save state data. Redhat 8.0 might do 
something along those lines, but if you are really trying to play with 
the iptables rules, it is probably best to disable the redhat stuff and 
build your own startup / shutdown scripts so that you really know what 
is going on under the hood.

ads nat wrote:

> 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 
> <http://shopping.yahoo.com/?__yltc=s%3A150000443%2Cd%3A22708228%2Cslk%3Atext%2Csec%3Amail> 
> - with improved product search 


[-- Attachment #2: Type: text/html, Size: 1878 bytes --]

  reply	other threads:[~2003-09-28  7:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-28  6:58 iptables-restore help ads nat
2003-09-28  7:30 ` Daniel Chemko [this message]
2003-09-28  9:18   ` ads nat
2003-09-28 14:20     ` ads nat
  -- strict thread matches above, loose matches on Subject: below --
2003-09-29 10:43 John A. Sullivan III

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3F768DFF.1040802@smgtec.com \
    --to=dchemko@smgtec.com \
    --cc=adsnat@yahoo.com \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox