> From: Zheng konia <konianet@xxxxxxxxx> > Date: Thu, Oct 26, 2017 at 10:48 AM > Subject: How to enable jhash for nftables v0.8 > To: Netfilter Users Mailing list <netfilter@xxxxxxxxxxxxxxx> > > > Hi, > > I'm have some error with configureing nftables-nat with loading > balance when I trying `jhash`. > > # nft add rule nat prerouting mark set jhash ip saddr . tcp dport mod 2 > Error: Could not process rule: Invalid argument > add rule nat prerouting mark set jhash ip saddr . tcp dport mod 2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Hi, the jhash expression it's correct but you should try with: # nft add rule ip nat prerouting ct mark set jhash ... -- To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html