On 2024-08-06, George at Clug wrote: > To disable port forwarding would this be a better method?
"ceinture et bretelles" (I let you translate) > # echo 0 > /proc/sys/net/ipv4/ip_forward > # cat /etc/sysctl.conf > # Uncomment the next line to enable packet forwarding for IPv4 > #net.ipv4.ip_forward=1 > > # Uncomment the next line to enable packet forwarding for IPv6 > # Enabling this option disables Stateless Address Autoconfiguration > # based on Router Advertisements for this host > #net.ipv6.conf.all.forwarding=1 Put in a file in /etc/sysctl.d with .conf net.ipv4.ip_forward = 0 as /etc/sysctl.conf is a package conf and raise some problems as said in this list