emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/nftables-mode 166b789260 22/41: old comments


From: Stefan Monnier
Subject: [elpa] externals/nftables-mode 166b789260 22/41: old comments
Date: Mon, 23 May 2022 09:27:23 -0400 (EDT)

branch: externals/nftables-mode
commit 166b789260ea8c58c97e7905f97eb54107387994
Author: Trent W. Buck <trentbuck@gmail.com>
Commit: Trent W. Buck <trentbuck@gmail.com>

    old comments
---
 nftables-router.nft | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/nftables-router.nft b/nftables-router.nft
index 1ced5255b4..95725d612a 100644
--- a/nftables-router.nft
+++ b/nftables-router.nft
@@ -629,6 +629,10 @@ table inet my_filter {
 # NOTE: dual-stack (IPv4/IPv6) NAT is annoying.
 #       IPv6 addresses are plentiful, so don't NAT IPv6.
 #
+# NOTE: in linux 5.2+ you *CAN* do inet (combined IPv4/IPv6) nat chains.
+#
+#         table inet x { chain y { type nat hook postrouting priority srcnat; 
policy accept; } }
+#
 # GOTCHA: apparently you MUST hook BOTH prerouting AND postrouting.
 #         If you only hook one, it won't work.
 #



reply via email to

[Prev in Thread] Current Thread [Next in Thread]