public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Daniel Iliev" <danny@ilievnet.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] nfs and iptables
Date: Fri, 23 Jun 2006 12:38:13 +0300 (EEST)	[thread overview]
Message-ID: <36022.10.0.1.1.1151055493.squirrel@mail.ilievnet.com> (raw)
In-Reply-To: <20060623110408.192f26d5@lx-arnau.pic.es>


On Fri, June 23, 2006 12:04 pm, Arnau Bria wrote:

>
> Well, so I set next rule in my firewall:
> -A INPUT -d 193.146.196.198 -i eth0 -p tcp -m tcp --dport 111 -j ACCEPT
> -A INPUT -d 193.146.196.198 -i eth0 -p tcp -m tcp --dport 111 -j LOG
> --log-prefix "NFS (tcp) Input: " --log-level 7 -A INPUT -d
> 193.146.196.198 -i eth0 -p udp -m udp --dport 111 -j LOG --log-prefix
> "NFS (udp) Input: " --log-level 7 -A INPUT -d 193.146.196.198 -i eth0
> -p udp -m udp --dport 111 -j ACCEPT

My first guess is that you have another FW rule which matches those packets and
drops them before they meet the rule you mention.
You could try:

 -D INPUT -d 193.146.196.198 -i eth0 -p tcp -m tcp --dport 111 -j ACCEPT
 -I INPUT -d 193.146.196.198 -i eth0 -p tcp -m tcp --dport 111 -j ACCEPT
(drop the rule and insert it on top of all other)



-- 
Best regards,
Daniel

-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2006-06-23  9:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-23  9:04 [gentoo-user] nfs and iptables Arnau Bria
2006-06-23  9:38 ` Daniel Iliev [this message]
2006-06-23  9:55   ` Arnau Bria
2006-06-23 12:10     ` Arnau Bria
2006-06-23 13:20       ` [gentoo-user] " Remy Blank
2006-06-23 10:20 ` [gentoo-user] " Rick van Hattem
2006-06-23 11:15   ` Arnau Bria

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=36022.10.0.1.1.1151055493.squirrel@mail.ilievnet.com \
    --to=danny@ilievnet.com \
    --cc=gentoo-user@lists.gentoo.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