[TUTORIAL] How to setup a VPN on NFO Server

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
mrzod01
A regular
A regular
Posts: 54
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Fri Nov 22, 2013 11:35 pm

[TUTORIAL] How to setup a VPN on NFO Server

Post by mrzod01 »

1. Put a fresh install of Cent OS 64x on your machine http://prntscr.com/26qgat


2. SSH into your VPS or Dedi with the info here, using a PUTTY Client recommended http://prntscr.com/26qgsm

3. While on putty, Login with your user name and password (http://prntscr.com/26qh0z)

(For the next steps, do not enter the brackets {} on the command line)

4. {yum install -y git}

5. {cd /opt && git clone git://github.com/drewsymo/VPN.git}

6. {cd VPN && bash vpn-setup-vanilla.sh}

7a. (Optional step, i never needed to do it, but it might be different for you, if you have OPEN VZ)

{iptables -t nat -A POSTROUTING -j SNAT --to-source x.x.x.x}

-Replacing the x.x.x.x with your Host Name/IP address

http://prntscr.com/26qht5




Credits: http://www.servermom.org/easiest-way-to ... -pptp/722/
dyl4n20
New to forums
New to forums
Posts: 3
Joined: Mon Feb 19, 2018 3:36 pm

Re: [TUTORIAL] How to setup a VPN on NFO Server

Post by dyl4n20 »

mrzod01 wrote: Tue Nov 26, 2013 4:22 am 1. Put a fresh install of Cent OS 64x on your machine http://prntscr.com/26qgat


2. SSH into your VPS or Dedi with the info here, using a PUTTY Client recommended http://prntscr.com/26qgsm

3. While on putty, Login with your user name and password (http://prntscr.com/26qh0z)

(For the next steps, do not enter the brackets {} on the command line)

4. {yum install -y git}

5. {cd /opt && git clone git://github.com/drewsymo/VPN.git}

6. {cd VPN && bash vpn-setup-vanilla.sh}

7a. (Optional step, i never needed to do it, but it might be different for you, if you have OPEN VZ)

{iptables -t nat -A POSTROUTING -j SNAT --to-source x.x.x.x}

-Replacing the x.x.x.x with your Host Name/IP address

http://prntscr.com/26qht5




Credits: http://www.servermom.org/easiest-way-to ... -pptp/722/
Great Post! Was wondering if someone knew anyway to open ports in the iptables?
Post Reply