The evolution of #linux system administration:
Stage 1:
echo '1' > /proc/sys/net/ipv4/ip_forward
Stage 2:
sysctl -w net.ipv4.ip_forward=1
Stage 3:
echo 'net.ipv4.ip_forward=1' >> /etc/sysctl.conf
Stage 4:
tuned_custom_profiles:
- name: 'docker'
sections:
- name: sysctl
params:
- option: net.ipv4.ip_forward
value: 1
Stage 5:
"Dear copilot, tell ansible to enable ip forwarding."
Stage 5b:
"Dear copilot, tell ansible to enable ip forwarding, please."
Stage 6:
"Create a cronjob that does "echo '1' > /proc/sys/net/ipv4/ip_forward" daily."