summaryrefslogtreecommitdiffstats
path: root/extensions/generic.txlate
blob: 1140bb89b5e80896f399db2b7f646402c64fe7d6 (plain)
1
2
3
4
5
iptables-translate -I OUTPUT -p udp -d 8.8.8.8 -j ACCEPT
nft insert rule ip filter OUTPUT ip protocol udp ip daddr 8.8.8.8 counter accept

iptables-translate -F -t nat
nft flush table ip nat