From: Anthony Liu <anthony@nexus-online.com>
To: Antony Stone <Antony@Soft-Solutions.co.uk>
Cc: Netfilter Mailing List <netfilter@lists.samba.org>
Subject: Re: Purely NAT
Date: Tue, 29 Oct 2002 02:37:55 +0800 [thread overview]
Message-ID: <20021028183756.34671877D8@defiant.starfleet.net> (raw)
In-Reply-To: <200210281444.g9SEime08636@vulcan.rissington.net>
On Mon, 28 Oct 2002 14:44:43 +0000 Antony Stone <Antony@Soft-Solutions.co.uk> wrote:
> On Monday 28 October 2002 5:32 am, yenjet.chan@eglobal.com.my wrote:
>
> > Hi all,
> >
> > This is my first post to the list, so please bare with me.
> > I have a requirement here. Is there possible to create a purely NAT
> > iptables rules for certain IP addresses?
>
> No. You can turn off stateful inspection by not loading or compiling the
> connection tracking support, but you cannot use it for some addresses but not
> others.
Are you sure? By not using "-m state" it might actually work, how about:
iptables -A FORWARD -o ppp0 -s aaa.bbb.ccc.eee -j ACCEPT
iptables -A FORWARD -o ppp0 -s aaa.bbb.ccc.ddd -m state --state ! INVALID -j ACCEPT
next prev parent reply other threads:[~2002-10-28 18:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-28 5:32 Purely NAT Jet (jchan@trusecure.com)
2002-10-28 14:44 ` Antony Stone
2002-10-28 18:37 ` Anthony Liu [this message]
2002-10-28 18:43 ` Antony Stone
2002-10-29 2:18 ` Jet (jchan@trusecure.com)
2002-10-29 4:43 ` Alexey Talikov
2002-10-29 5:26 ` Jet
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=20021028183756.34671877D8@defiant.starfleet.net \
--to=anthony@nexus-online.com \
--cc=Antony@Soft-Solutions.co.uk \
--cc=netfilter@lists.samba.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