I am using Debian Lenny with hypervisor Xen. I have set up a vm (Debian Lenny) and tried to run a custom firewall. The output to: iptables --list is:
FATAL: Could not load /lib/modules/2.6.26-2-xen-amd64/modules.dep: No such file or directory
iptables v1.4.2: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
Actually there is no folder: /lib/modules/2.6.26-2-xen-amd64/ . Probably i did something wrong when creating the vm's image.
Is there a way to fix this without having to recreate the vm from scratch?