From: Nathaniel Hall <nathaniel.d.hall@gmail.com>
To: Ryan Belcher <Ryanb@sealevel.com>, netfilter@lists.netfilter.org
Subject: Re: iptables REJECT NAT Internal -> External Portrange
Date: Wed, 27 Sep 2006 12:24:34 -0500 [thread overview]
Message-ID: <451AB3D2.9050507@gmail.com> (raw)
In-Reply-To: <4F7EDC4D48D076428187517D1D77B017239AA5@mercury.int.sealevel.com>
Ryan Belcher wrote:
> iptables -t nat -A PREROUTING -i eth2 -p tcp --dport 10000:11000 -j REJECT --reject-with icmp-host-unreachable
>
> The above command returns with "Invalid Argument".
>
> If I simply replace "-j REJECT --reject-with icmp-host-unreachabel" with "-j DROP" iptables accepts it.
Did this come with a distribution or have you compiled it on your own? I think I had a similar
problem with the iptables that came with Fedora Core because it didn't come with the REJECT module.
--
Nathaniel Hall, GSEC GCFW GCIA GCIH
next prev parent reply other threads:[~2006-09-27 17:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-27 16:11 iptables REJECT NAT Internal -> External Portrange Ryan Belcher
2006-09-27 16:30 ` Jan Engelhardt
2006-09-27 16:43 ` Ryan Belcher
2006-09-27 17:24 ` Nathaniel Hall [this message]
2006-09-27 17:31 ` Ryan Belcher
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=451AB3D2.9050507@gmail.com \
--to=nathaniel.d.hall@gmail.com \
--cc=Ryanb@sealevel.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.