NAT support for iptables

Discussion in 'Kernel Questions' started by Traffic, Mar 4, 2008.

  1. Traffic

    Traffic New Member

    Hello...

    I have purchased space on a box using VPS... I have requested that they enable NAT support for iptables on my VPS... However, this is an unmanaged setup and they provide no technical support...

    I am getting the following error:

    Code:
    server:~# iptables -t nat -L
    FATAL: Could not load /lib/modules/2.6.18-53.1.6.el5.028stab053.6/modules.dep: No such file or directory
    iptables v1.3.6: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
    Perhaps iptables or your kernel needs to be upgraded.
    
    Any suggestions...?


    ...
     
  2. topdog

    topdog Active Member

    That error means they have not enabled NAT support for your kernel and usually with VPS's you cannot load your own modules so you need to contact them to get them to do it for you.
     
  3. Traffic

    Traffic New Member

    I have also setup another VPS - which did not have NAT support for iptables... The admin requested that I install (2) packages:
    Code:
    apt-get install linux-image-2.6.18-4-xen-686
    apt-get install libc6-xen
    Where uname -r was "2.6.18-4-xen-686"...

    This did work...

    However - the new VPS has uname -r = "2.6.18-53.1.6.el5.028stab053.6" - and, they are telling me that I must do the work myself...

    However - I cannot find the same solution that I used above - and, my understanding is not broad enough to know why...

    Any help would be appreciated...
     
  4. topdog

    topdog Active Member

    What distro are you using ? Anyway you can find the kernel by doing this
    Code:
     apt-cache search xen |grep image
    Then pick the highest version.
     

Share This Page