Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Alexis" <alexis@tpys.com.ar>
To: netfilter <netfilter@lists.netfilter.org>
Subject: Re: IPs blocked still able to connect
Date: Sun, 13 Jun 2004 22:02:57 -0300	[thread overview]
Message-ID: <001701c451ab$56837610$0200000a@heretic> (raw)
In-Reply-To: 200406132359.i5DNx0bJ016290@ylpvm15.prodigy.net


----- Original Message ----- 
From: "Spiro Azkoul" <spiro@snacorp.net>
To: <netfilter@lists.netfilter.org>
Sent: Sunday, June 13, 2004 8:59 PM
Subject: RE: IPs blocked still able to connect


>
> Hello,
>
> You should be able to "man iptables"
>
> -> I did, got the info I needed. Thanks.
> I also transferred all my -A rules to -I and an iptables -L INPUT now shows
> priority to the -I rules, which basically should not block any traffic to my
> server.
>
> On the other hand, I have a couple more questions:
>
> 1- If I have 2 Nic Cards, eth0 and eth1, without any kind of NATing
> involved, as I am simply using the private interface for backup jobs, local
> SSH and so forth, should I worry about the FORWARD chain? There is no
> routing between the 2 interfaces nor do I need there be so I assumed so far
> that my INPUT/OUTPUT rules will apply to the public interface without having
> to go the extra step of specifying it.


There's no explicit need of nat to pass the traffic between two interfaces,
without having any nat rule, if you've turned on ip_forwarding, and FORWARD
chain is ACCEPT, traffic will flow between interfaces.



>
> 2- Is there a way to build a text file and have IPTABLES pull from it
> periodically? I know this could be done in perl, but has anyone tried to do
> it with a simple cron job?

the output of iptables-save could help?



> Thanks
>
>
>
>



  reply	other threads:[~2004-06-14  1:02 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-12 20:18 IPs blocked still able to connect Spiro Azkoul
2004-06-12 20:38 ` Antony Stone
2004-06-12 20:46   ` Spiro Azkoul
2004-06-13 19:22 ` Michael Gale
2004-06-13 19:36   ` Spiro Azkoul
2004-06-13 19:58     ` Michael Gale
2004-06-13 23:59       ` Spiro Azkoul
2004-06-14  1:02         ` Alexis [this message]
2004-06-14  8:54       ` Spiro Azkoul
2004-06-14 15:32         ` Michael Gale

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='001701c451ab$56837610$0200000a@heretic' \
    --to=alexis@tpys.com.ar \
    --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