summaryrefslogtreecommitdiff
path: root/etc/sysctl.d
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2023-12-03 07:09:41 +0000
committerXiao Pan <gky44px1999@gmail.com>2023-12-03 07:09:41 +0000
commitf1131958e4d6579724c42e114620328d2414824e (patch)
tree9f74fb247a9874a520da505e0ffaf1caaac8fdbb /etc/sysctl.d
parent2f8e8f4f44df666554912ac1f917d0079565a82c (diff)
update
Diffstat (limited to 'etc/sysctl.d')
-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