From: "Rakotomandimby (R12y) Mihamina" <mihamina@mail.rktmb.org>
To: netfilter@lists.netfilter.org
Subject: Re: I cant flush rules
Date: Mon, 07 Mar 2005 12:43:51 +0100 [thread overview]
Message-ID: <1110195831.8886.40.camel@debian> (raw)
In-Reply-To: <422C37EB.6090305@mnemon.de>
On Mon, 2005-03-07 at 12:15 +0100, Jörg Harmuth wrote:
> Hi,
Hi
> your port 8000 - and all others - can be accessed, because you allowed
> it. First:
>
> iptables -A INPUT -s 195.140.140.100 -j ACCEPT
I need to allow that machine.
> you accept all connections from this box: Second:
>
> iptables -A INPUT -p tcp --syn -m limit --limit 5/s -j ACCEPT
> you allow 5 connections per second from everywhere, including the
> internet. This is the second rule and as ACCEPT is a terminating
> target, chain traversing stops right here. So your services are all
> available to the whole world.
Oooooooh yes! that was my mistake.
> You can remove the second rule or do it more specifically, e.g. with
> interfaces or ports like this:
I choose to remove it.
> In the last rule you should specify addresses, that may connect to
> port 8000. You can also combine it like this:
> iptables -A INPUT -p tcp -i ethn --dport 8000 -s SOME_ADDRESS -m limit
No. It's an Icecast server behind (Web Radio, broadcasting music). All
the world needs to acces from that port.
It really helped. Thank you.
--
ASPO Infogérance http://aspo.rktmb.org/activites/infogerance
Unofficial FAQ fcolc http://faq.fcolc.eu.org/
LUG sur Orléans et alentours (France).
Tél : 02 34 08 26 04 / 06 33 26 13 14
prev parent reply other threads:[~2005-03-07 11:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-06 19:41 I cant flush rules Rakotomandimby (R12y) Mihamina
2005-03-07 11:15 ` Jörg Harmuth
2005-03-07 11:43 ` Rakotomandimby (R12y) Mihamina [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=1110195831.8886.40.camel@debian \
--to=mihamina@mail.rktmb.org \
--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