How to build a VPN server on your VPS?

Posted by NosaLee in UNIX/Linux on 15-11-2012. Tags:

Author: Nosa Lee
Original Address:
To reprint this article, please indicate the source, thank you.

If you have a foreign VPS and you want have a VPN server, just do it as below:

In my VPS:
OS: CentOS 5.6 32-bit
Method: Log into VPS host via a SSH terminal as root user, execute below commands:

Very fast, PPTP VPN will be set OK, and it will tell you the VPN account and password once finished (please record them).

Now, create a VPN connection in Windows (supportable by default, none third-party software needed), address is your VPS IP, fill the user and password, connect, it is available directly, getting Internet connection by your own VPN in one minute…

Now, we check if it works after reboot VPS, input reboot command in SSH terminal, waiting for it about 2 minutes (you can reboot Windows during this time also).

I have rebooted the server and client, everything is well, at this time, I have a VPN server (it is virtual free, except you purchased VPS for build a VPN server only).

【赞赏 / Reward】

微信         支付宝         PayPal

Post a comment