Sign in or Sign up

VPN tutorial
Started by ZachFarlow


Rate this topic
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5


1 posts in this topic
ZachFarlow Offline
Junior Member
**


Registered
Posts: 14
Threads: 10
Joined: Fri Mar 2017
Reputation: 0

CZPoints: 0 CZP
04-05-2017, 09:55 PM -
#1
Ok so i wanted do Show you Guys an easy Tut on how to setup OPENVPN.


So Your gonna need a VPS preferably a DDOS Protected now this Tut is self-explanatory



Code:
Code:
2. Type in or Copy and Paste it.
Code:
wget http://git.io/vpn --no-check-certificate -O openvpn-install.sh; chmod +x openvpn-install.sh;

3. If you are logged in as Root run:
Code:
./openvpn-install.sh
If you are logged in as user run:
Code:
sudo ./openvpn-install.sh

4. It will show the IP from the VPS.Change it only if you have multiple IP addresses on the server and you want to use a specific one.

5. I will use the the provided Port 1194.

6 Now you have to Chose a DNS i will use "6" (Google DNS)

7. Now chose a Client name. In this Tutorial i will use Crory. it will look like this [Image: Wi77nk3.jpg] with youre Information's.

This is all, now the auto OpenVPN installer will download the packages, generate the encryption keys and certificates and start the server. This is going to take a while.

If everything went smoothly, the auto-installer will notify you that the client certificates 
it will look like this [Image: oQFdYeU.jpg]

8. Check if your OpenVPN server is running. Run:
Code:
ps ax|grep openvpn
you should see something like that:
[Image: KiZQDAD.jpg]

9. Run
Code:
sysctl -p /etc/sysctl.conf
to Save the file and activate the changes

10. enable masquerading in firewall
Code:
iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE

11. Now install OpenVPN Client

12. Now connect with the FTP Client to youre Server it will look like this: [Image: Ug1NYju.jpg] scroll down a bit and Open the File "root" scroll again down and you will find youre Ovpn cfg "YoureName.ovpn"
[Image: RjeSn0S.jpg]

13. Transfer the Ovpn Config to the config folder in OpenVPN (usually in “C:\Program Files(x86)\OpenVPN\config\”).


I Hope Ya'll enjoy [Image: thumbsup.gif]
[Image: QBPDs.gif]
[Image: QnF7Kgk.gif]

Dark Offline
Junior Member
**


Registered
Posts: 49
Threads: 8
Joined: Wed Apr 2017
Reputation: 0

CZPoints: 0 CZP
04-12-2017, 05:20 AM -
#2
Thanks for sharing this!
Corrupt Zone <3




Users browsing this thread: 1 Guest(s)