Applying .conf file within /etc/sysctl.d isn't working.
The version of Debian I am running is 13.
I placed a file called 99-forwarding.conf with the following contents within /etc/sysctl.d:
net.ipv4.conf.all.forwarding = 1
net.ipv6.conf.all.forwarding = 1
I applied the file using the command sysctl -p /etc/sysctl.d/99-forwarding.conf. It will apply temporarily but when I reboot my machine, it refuses to apply upon boot.
Any ideas of what could be causing this?
SOLVED: Had to run sysctl —system and then do a reboot afterwards.