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

This is a discussion on NAT on VPS - iptables error in the VPS & Dedicated forum
Hi, I'm looking to set up OpenVPN on my VPS to route all client traffic to the net. The OpenVPN side of things is all ...

  1. #1
    Loyal Client
    Join Date
    Sep 2009
    Posts
    6

    NAT on VPS - iptables error

    Hi,

    I'm looking to set up OpenVPN on my VPS to route all client traffic to the net. The OpenVPN side of things is all up and running, but I can't get NAT to work.

    I've tried:

    iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o venet0 -j MASQUERADE

    which returns:
    iptables: Unknown error 4294967295

    What could be wrong?

    thanks

  2. #2
    JPC Dream Team
    Join Date
    Aug 2006
    Posts
    935
    Please open a support ticket and techs will investigate this issue.
    Awais | Technical Support
    JaguarPC.com


    Helpful Links
    Current Specials | Knowledge Base | Network Status

  3. #3
    Loyal Client
    Join Date
    Sep 2009
    Posts
    6
    Thanks Awais ... it's finally all working now.
    Support contacted Parallels, who said that I couldn't use MASQUERADE as it hasn't been virtualized as a module, and that I should use SNAT instead.

    This is the command I used, hope it helps someone else!

    iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -j SNAT --to-source <one of my external IPs>

    10.8.0.0 is an OpenVPN default.

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
  •