cp mesh_peerings.yaml /root/
echo 'secret "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";' > /root/fastd_secret.key
cp manifest.pp /root/gateway.pp
and adapt all needed settings to the new gateway
./pre-puppet.sh
follow instructions at the end of the script. make sure you are in a screen session
screen
puppet apply --verbose /root/gateway.pp
# start puppet again in case something went wrong:
puppet apply --verbose /root/gateway.pp
build-firewall
bash post-puppet.sh
We do the following steps for ivp4 only, ipv6 is not forwarded locally. First is the runtime change and after that instructions to change the startup configuration.
Enable maintenance mode,
maintenance on
after DHCPLEASETIME read and execute the script localexit.sh
adduser newuser
adduser newuser sudo