diff options
Diffstat (limited to 'extensions/libxt_ipcomp.txlate')
-rw-r--r-- | extensions/libxt_ipcomp.txlate | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/extensions/libxt_ipcomp.txlate b/extensions/libxt_ipcomp.txlate new file mode 100644 index 00000000..f9efe53c --- /dev/null +++ b/extensions/libxt_ipcomp.txlate @@ -0,0 +1,5 @@ +iptables-translate -t filter -A INPUT -m ipcomp --ipcompspi 0x12 -j ACCEPT +nft add rule ip filter INPUT comp cpi 18 counter accept + +iptables-translate -t filter -A INPUT -m ipcomp ! --ipcompspi 0x12 -j ACCEPT +nft add rule ip filter INPUT comp cpi != 18 counter accept |