Re: [PATCH] extensions: libxt_iprange: Add translation to nft

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

 



On Tue, Dec 22, 2015 at 12:35:20PM +0530, Shivani Bhardwaj wrote:
> Add translation for iprange to nftables.
> 
> Examples:
> 
> $ sudo iptables-translate -A INPUT -m iprange --src-range 192.168.25.149-192.168.25.151 -j ACCEPT
> nft add rule ip filter INPUT  ip saddr 192.168.25.149-192.168.25.151 counter accept
> 
> $ sudo iptables-translate -A INPUT -m iprange --dst-range 192.168.25.149-192.168.25.151 -j ACCEPT
> nft add rule ip filter INPUT  ip daddr 192.168.25.149-192.168.25.151 counter accept

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



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

  Powered by Linux