On Wed, Mar 02, 2016 at 03:54:01PM +0530, Shivani Bhardwaj wrote: > Add translation for masquerade to nftables. > > Examples: > > $ sudo ip6tables-translate -t nat -A POSTROUTING -j MASQUERADE > nft add rule ip6 nat POSTROUTING counter masquerade > > $ sudo ip6tables-translate -t nat -A POSTROUTING -p tcp -j MASQUERADE --to-ports 10 > nft add rule ip6 nat POSTROUTING ip6 nexthdr tcp counter masquerade to :10 > > $ sudo ip6tables-translate -t nat -A POSTROUTING -p tcp -j MASQUERADE --to-ports 10-20 --random > nft add rule ip6 nat POSTROUTING ip6 nexthdr tcp counter masquerade to :10-20 random Also applied, thanks Shivani. -- 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