summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_HMARK.c
diff options
context:
space:
mode:
authorShivani Bhardwaj <shivanib134@gmail.com>2015-12-22 12:35:20 +0530
committerPablo Neira Ayuso <pablo@netfilter.org>2016-02-16 19:30:22 +0100
commitb9cd6f55374461163c6216e8d892e88102200908 (patch)
treeee56a0b1db57f79bea5ca4dcba169e5f3c5e72a8 /extensions/libxt_HMARK.c
parent7a2de9b9141c96b3984f54fa1e48a0ed88c8b40c (diff)
extensions: libxt_iprange: Add translation to nft
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 Signed-off-by: Shivani Bhardwaj <shivanib134@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'extensions/libxt_HMARK.c')
0 files changed, 0 insertions, 0 deletions