From f1131958e4d6579724c42e114620328d2414824e Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Sun, 3 Dec 2023 07:09:41 +0000 Subject: update --- etc/sysctl.d/99-sysctl.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2