VyOS crash investigation


Randomly our VyOS instance crashed. This was an unusual crash though as all NAT didn’t work, but I was able to ping the gateway, etc.

I looked in /var/log/messages.2 to find the time of the crash, and it looks like it tried to rotate the logs:

Also in auth, it tried to run a cron:

I can not find anything which would explain why NAT/PAT/IPSec/Wireguard would all simultaneously stop working. Any assistance is appreciated.

I would start with conntrack and conntrack size.and firewall rules.
How many conntrack entries do you have?

sudo conntrack -C
sudo dmesg -T