Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 2 of 2

This is a discussion on iptables NAT support? in the VPS & Dedicated forum
I'm trying to set up a small VPN on my virutal server so that I can have a reasonably secure connection to the internet and ...

  1. #1
    JPC Member
    Join Date
    Nov 2006
    Posts
    2

    iptables NAT support?

    I'm trying to set up a small VPN on my virutal server so that I can have a reasonably secure connection to the internet and my VPS when I'm traveling and on an untrusted network. I have the VPN set up with openvpn, and everything is working (I can connect to the VPN and see my VPS and the other machines connected to the VPN.)

    I can't, however, seem to get NAT working so that my machine on the private 172.23.5.0/24 subnet can access the internet via the VPN. Technical support said the Virtuozzo kernel has support for NAT, but when I try to add a rule for it, using the following command:

    iptables -t nat -A POSTROUTING -s 172.23.5.0/24 -o venet00 -j MASQUERADE

    I get this error:

    iptables v1.3.0: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
    Perhaps iptables or your kernel needs to be upgraded.

    which seems to indicate that the kernel in fact does not have NAT support. Is that the case, or am I doing something wrong?
    Last edited by minn; 11-10-2006 at 12:40 AM.

  2. #2
    JPC Dream Team JPC-Veena's Avatar
    Join Date
    Sep 2002
    Posts
    572
    Could you please update your support ticket or open a ticket with the above details so we could check it further. It sounds like the iptables nat module is not loaded either on your vps or the kernel.
    Veena K John
    Jaguar Technologies, LLC.

    Helpful Links
    Knowledge Base | Network Status | Current Specials

    Need a Manager?
    (pm) | (email) David, Customer Service Manager

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •