From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [nft PATCH v2] src: add masquerade support
Date: Thu, 9 Oct 2014 18:48:29 +0200 [thread overview]
Message-ID: <20141009164829.GA12938@salvia> (raw)
In-Reply-To: <20141006195009.17830.37135.stgit@nfdev.cica.es>
On Mon, Oct 06, 2014 at 09:51:24PM +0200, Arturo Borrero Gonzalez wrote:
> This patch adds masquerade support for nft.
>
> The syntax is:
>
> % nft add rule nat postrouting masquerade [flags]
>
> Currently, flags are:
> random, random-fully, persistent
>
> Example:
> % nft add rule nat postrouting masquerade random,persistent
Applied, thanks Arturo.
BTW, I mangled the error message for bridge to this:
# nft add rule bridge test test masquerade
<cmdline>:1:27-36: Error: ip and ip6 support only
add rule bridge test test masquerade
^^^^^^^^^^
Please, send me a patch to unit test this and update
wiki.nftables.org. Thanks.
prev parent reply other threads:[~2014-10-09 16:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-06 19:51 [nft PATCH v2] src: add masquerade support Arturo Borrero Gonzalez
2014-10-09 16:48 ` Pablo Neira Ayuso [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=20141009164829.GA12938@salvia \
--to=pablo@netfilter.org \
--cc=arturo.borrero.glez@gmail.com \
--cc=netfilter-devel@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 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.