summaryrefslogtreecommitdiff
path: root/etc/sysctl.d/99-sysctl.conf
diff options
context:
space:
mode:
Diffstat (limited to 'etc/sysctl.d/99-sysctl.conf')
-rw-r--r--etc/sysctl.d/99-sysctl.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/sysctl.d/99-sysctl.conf b/etc/sysctl.d/99-sysctl.conf
index b9677c02..00f01949 100644
--- a/etc/sysctl.d/99-sysctl.conf
+++ b/etc/sysctl.d/99-sysctl.conf
@@ -4,4 +4,5 @@
# https://wiki.archlinux.org/title/Nftables#NAT_with_port_forwarding
# https://github.com/teddysun/across/blob/acef6b00a6ad062c0e99286ea136d1a246def644/wireguard.sh#L514-L522
net.ipv4.ip_forward = 1
-net.ipv6.conf.all.forwarding = 1
+# ka no ipv6. Test shows if enable this, it will expose my workstation's ipv6. If it has ipv6, maybe also need `table ip6 nat` in nftables.conf to hide workstation's ipv6?
+#net.ipv6.conf.all.forwarding = 1