diff options
author | Shivani Bhardwaj <shivanib134@gmail.com> | 2016-01-12 22:17:54 +0530 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-02-16 19:30:24 +0100 |
commit | 95df9884027eadbd1479cefd49f290194abbb8d2 (patch) | |
tree | 8db88880f827851e67bf5b2c25848d2be63fe708 /libipq/ipq_perror.3 | |
parent | 0198008d1de13037c2e809c598d51771b166cc46 (diff) |
extensions: libipt_REDIRECT: Add translation to nft
Add translation for target REDIRECT to nftables.
Examples:
$ sudo iptables-translate -t nat -A prerouting -p tcp --dport 80 -j REDIRECT --to-ports 8080
nft add rule ip nat prerouting tcp dport 80 counter redirect to 8080
$ sudo iptables-translate -t nat -A prerouting -p tcp --dport 80 -j REDIRECT --to-ports 8080 --random
nft add rule ip nat prerouting tcp dport 80 counter redirect to 8080 random
Signed-off-by: Shivani Bhardwaj <shivanib134@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'libipq/ipq_perror.3')
0 files changed, 0 insertions, 0 deletions