Chapter 2

Configuring Node

General

Enable net.ipv4.ip_forward

sudo sh -c "echo 'net.ipv4.ip_forward = 1' >> /etc/sysctl.conf"
sudo sysctl -p

Disable swap

sudo vi /etc/fstab

comment out or remove anything like /swapfile swap swap defaults 0 0.