I'm trying to activate ip forwarding at boot-time on my ubuntu core image. I can run the command:
sudo sysctl -w net.ipv4.ip_forward=1
It works. Then I reboot the machine, the forwarding is gone. On ubuntu server I can update the file /etc/sysctl.conf .
This file is "read only" in ubuntu-core.
What is the "prefered" way to add ip forwarding in ubuntu core?