All of lore.kernel.org
 help / color / mirror / Atom feed
From: Real Cucumber <monkcucumber@yahoo.com>
To: netfilter@lists.netfilter.org
Subject: Re: Fwd: Re: Help with ICMP Ruls
Date: Thu, 15 Jul 2004 13:18:12 -0700 (PDT)	[thread overview]
Message-ID: <20040715201812.79935.qmail@web40708.mail.yahoo.com> (raw)
In-Reply-To: <200407152113.55450.Antony@Soft-Solutions.co.uk>

I allow myself restricted by IP to connect in for SSH
on the LAN interface on the fedora box.

However, no Input/Output is alowed on the WAN
interface though.

Sorry I guess I lied/misled by saying "NO"
input/output - as I was just referring to the WAN.




--- Antony Stone <Antony@Soft-Solutions.co.uk> wrote:
> On Thursday 15 July 2004 8:55 pm, Real Cucumber
> wrote:
> 
> > I do have a state rule already for allowing any
> > established,related connections.
> 
> In that case you are already allowing ICMP :)
> 
> > So should I add another one such as:
> >
> > iptables -A FORWARD -p icmp -m state --state
> RELATED
> > -j ACCEPT
> 
> No.   ICMP messages which are RELATED to the
> existing SSH connections will get 
> matched by the final rule in this section of your
> rules:
> 
> # Allow previously initiated and accepted
> connections
> # to bypass firewall tests (state matching)
> iptables -A INPUT -m state --state
> ESTABLISHED,RELATED -j ACCEPT
> iptables -A OUTPUT -m state --state
> ESTABLISHED,RELATED -j ACCEPT
> iptables -A FORWARD -m state --state
> ESTABLISHED,RELATED -j ACCEPT
> 
> Just out of interest, why do you have the first two
> of these rules, if you 
> have no INPUT or OUTPUT traffic?
> 
> Regards,
> 
> Antony.
> 
> -- 
> Microsoft may sell more software than any other
> company, but McDonald's sell 
> more burgers than any other company, and I think the
> other similarities are 
> obvious...
> 
>                                                     
> Please reply to the list;
>                                                     
>       please don't CC me.
> 
> 
> 



	
		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 


      reply	other threads:[~2004-07-15 20:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-15 19:55 Fwd: Re: Help with ICMP Ruls Real Cucumber
2004-07-15 20:04 ` Aleksandar Milivojevic
2004-07-15 20:13 ` Antony Stone
2004-07-15 20:18   ` Real Cucumber [this message]

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=20040715201812.79935.qmail@web40708.mail.yahoo.com \
    --to=monkcucumber@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.