Setting up a PPTP VPN on OpenVZ VPS (Tested with RamNode VPS)

You may also like...

7 Responses

  1. Tim says:

    Posting credits to the source article would be a good idea.

  2. Ken Ng says:

    Hi Tim,

    I absolutely agree with you and it’s my mistake not to put the sites where I referred some of the scripts from. However, it’s not from the link you posted in your comment.

  3. Simon Moles says:

    MASQUARADE wasn’t supported on my server, but this command did the job:

    iptables -t nat -A POSTROUTING -j SNAT –to-source

  4. Simon Moles says:

    Argh, the command in my comment got mangled. Second attempt:
    iptables -t nat -A POSTROUTING -j SNAT –to-source [venet0’s ip address]

  5. Ken Ng says:

    Thanks! Yes the routing is the tricky part and depends largely on the host. Which is why I did state what I did worked on the host I was using. 🙂

  6. pojokan says:

    [email protected]:~# iptables –table nat -A POSTROUTING -o venet0 -j MASQUERADE
    iptables v1.4.12: can’t initialize iptables table `nat’: Table does not exist (do you need to insmod?)
    Perhaps iptables or your kernel needs to be upgraded.
    what should i do
    can you help me

  7. Simsan says:

    Wow.. after try many tutorial. I get success by this tutorial.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.