summaryrefslogtreecommitdiff
path: root/etc/nftables.conf
diff options
context:
space:
mode:
Diffstat (limited to 'etc/nftables.conf')
-rw-r--r--etc/nftables.conf4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/nftables.conf b/etc/nftables.conf
index 0ea2680a..eae3bbe4 100644
--- a/etc/nftables.conf
+++ b/etc/nftables.conf
@@ -58,7 +58,9 @@ table inet my_table {
# https://wiki.gentoo.org/wiki/Nftables/Examples#Basic_NAT
# needed by wireguard?
-table ip nat {
+# Need inet to masquerade both ipv4 and ipv6? If use ip it will only masquerade ipv4? If use ip6 it will only masquerade ipv6?
+# https://wiki.nftables.org/wiki-nftables/index.php/Nftables_families
+table inet nat {
chain prerouting {
type nat hook prerouting priority 0; policy accept;
}