From: "Rob Sterenborg" <rob@sterenborg.info>
To: eial@cs.bgu.ac.il, netfilter@vger.kernel.org
Subject: RE: accept rule not working.
Date: Wed, 7 May 2008 17:29:28 +0200 [thread overview]
Message-ID: <001101c8b057$23a5c950$6af15bf0$@info> (raw)
In-Reply-To: <200805071514.m47FEhxC008001@indigo.cs.bgu.ac.il>
> I've created this rule:
> /sbin/iptables -A INPUT -i eth0 -p tcp -m state --state NEW --sport
> 80 -s 192.168.113.94 -j ACCEPT
>
> but the firewall still blocks it, I guess there is a typo somewhere
> but I cant seem to be able to find it any hints?
Since the packets are still dropped, either the rule doesn't match the packets you expect it to match, or another blocking rule matches before it can be accepted by this one.
Also, you're using "--sport 80". Are you sure the packets are COMING FROM source port 80 instead of GOING TO port 80 (--dport 80)?
Grts,
Rob
next prev parent reply other threads:[~2008-05-07 15:29 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-07 15:14 accept rule not working eial
2008-05-07 15:29 ` Gáspár Lajos
2008-05-07 15:39 ` Karim Asif
2008-05-07 15:58 ` Jan Engelhardt
2008-05-07 15:29 ` Rob Sterenborg [this message]
2008-05-07 21:25 ` eial
2008-05-08 9:28 ` Gáspár Lajos
2008-05-08 5:25 ` eial
[not found] <200805090443.m494hPLn001206@indigo.cs.bgu.ac.il>
2008-05-09 6:37 ` Gáspár Lajos
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='001101c8b057$23a5c950$6af15bf0$@info' \
--to=rob@sterenborg.info \
--cc=eial@cs.bgu.ac.il \
--cc=netfilter@vger.kernel.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