Re: [nft PATCH v2] src: add masquerade support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux