Enable IP forwarding on Linux Machine
From AcrodusWiki
Introduction
This guide shows how to enable ip forwarding on a Linux Machine running Debian 12 for both Ipv4 and Ipv6.
HOW TO
Go to the file /etc/sysctl.conf. Edit the lines net.ipv4.ip_forward=0 to net.ipv4.ip_forward=1 and net.ipv6.conf.all.forwarding=0 to net.ipv6.conf.all.forwarding=1.