I just got a new dedicated server with proxmox installed.
But it seems the nat module is not loaded:
I tried to load it but I'm getting the following errors:
Do you have any idea what's wrong and how I can fix it?
Code:
# pveversion
pve-manager/3.4-3/2fc72fee (running kernel: 2.6.32-37-pve)
Code:
# iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -o vmbr1 -j MASQUERADE
iptables v1.4.14: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
Code:
# modprobe iptable_nat
ERROR: could not insert 'iptable_nat': Exec format error
Code:
# insmod /lib/modules/2.6.32-37-pve/kernel/net/ipv4/netfilter/iptable_nat.ko
Error: could not insert module /lib/modules/2.6.32-37-pve/kernel/net/ipv4/netfilter/iptable_nat.ko: Invalid module format
Do you have any idea what's wrong and how I can fix it?