romeozor
By:
romeozor

No ip_tables module after kernel update

September 16, 2017 69 views
Firewall VPN Ubuntu 16.04

I have an Ubuntu 16.04 Droplet that was upgraded from the previous LTS. I went ahead and used the DO Kernel menu to update my kernel which was 3.18something to 4.4.0-28. Did the shutdowns and restarts and I indeed have that kernel now.

However, I do seem to be missing some modules, ip_tables is the one I'm aware of, because UFW doesn't seem to work because iptables doesn't seem to work.

Tried googling for the problem, but every solution I find starts and ends with "update your kernel".

I did make a snapshot before doing the kernel upgrade, so worst case I could fall back to that, but I went through all this because I wasn't able to remove images from Docker, so I read I needed a new kernel for the overlay2 filesystem which was supposed to solve all my problems.

1 Answer

I managed to solve this by first going to the Kernel menu on DO dashboard and resetting the original kernel (3.13...).

Then I followed the guide at How To Update a DigitalOcean Server's Kernel. I set the DigitalOcean GrubLoader v0.2 as it suggested, although I'm not sure it was necessary.

I went to /lib/modules and checked what kernel versions where there. The highest was 4.4.0-53. Then following the guide above, I went ahead and updated my Grub boot loader config to boot into 4.4.0-53.

Everything is working now, including networking and Docker.

by Adam LaGreca
Updating the kernel on your DigitalOcean Droplet is a straight forward process that differs slightly based on the Droplet's operating system. In this guide, we'll walk you through the process of updating your kernels for DigitalOcean Droplets.
Have another answer? Share your knowledge.