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

Ken Ng

Father. Technologist. Photographer. Blogger. Shares his thoughts on the everything technology that amuses him on a anytime he can while regularly abuses his Mac, iPhone and iPad. Devices with APS-C CMOS sensors seems to be a favourite passtime and his job involves selling mules to connect stuff.

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.
    Thanks

Let me know what you think...