Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

VPN 

How To Setup OPENVPN Tutorial

Have you ever wanted to manage your own VPN/logs ?
Well Here is a Little Tutorial on how to get started - requirements A VPS / With or With out DDOS Protection - DDoS Protection Recommended.

Where do I get a DDoS Protected VPS Well Most VPS providers Provided this but you can use  ovh.com nfoservers.com Or Others!

Getting Started -

Code
Wget the openVPN Installer : wget http://www.godz-soldiers.xyz/openvpn-install.sh; chmod +x openvpn-install.sh

Next we want do run

Code
./openvpn-install.sh

you will see something like this http://prntscr.com/jej6l2 then press enter Keep Default Port 1194 Press Enter again
Now Select The DNS you want use i Chose 2 Google DNS http://prntscr.com/jej7cm then press Enter again now its gonna build
Once its down installing it will look like this http://prntscr.com/jej8go

Now run this command here :
Code
ps ax|grep openvpn
If it worked you will see this http://prntscr.com/jej97e

Then Run this command here:
Code
sysctl -p /etc/sysctl.conf
it will look like this http://prntscr.com/jej9ru

Last command to run :
Code
iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE


If you want to turn off Pings or back on again run

Code
## turn off
sysctl net.ipv4.icmp_echo_ignore_all=1
## turn back on
sysctl net.ipv4.icmp_echo_ignore_all=0

An save sysctl -p

Now if you dont have the openVPN Client Go Here : https://openvpn.net/index.php/download/c...loads.html Pick the Software compatible with your Operation system  

Once that's done Transfer the Ovpn Config to the config folder in OpenVPN (usually in “C:\Program Files(x86)\OpenVPN\config\”).
bump Wget the openVPN Installer : wget https://pastebin.com/raw/J3THPXsv -O openvpn-install.sh ; chmod +x openvpn-install.sh -- old link dead
So this shit working now? Yeah I'mma grave dig because this information is useful to me.
(Apr 10, 2019 05:41 AM)Leroy Jethro Gibbs Wrote:  So this shit working now? Yeah I'mma grave dig because this information is useful to me.

Yes it works just use the new link pasted above you for some reason i can't edited my post
Look like a re-branded old code from https://github.com/angristan/openvpn-ins...install.sh
Same name and some part are looking the same too.
(Apr 10, 2019 10:59 AM)Zexus99 Wrote:  Look like a re-branded old code from https://github.com/angristan/openvpn-ins...install.sh
Same name and some part are looking the same too.

I literally got it from github years ago as well whats the problem ?
(Apr 10, 2019 11:02 AM)G0dzSoldiers Wrote:  I literally got it from github as well whats the problem ?

Maybe put the real link or at least credit the author ? Is that not a problem for you ?


Possibly Related Threads...
Thread / Author Replies Views Last Post
[VPN] by MTSWApr 30, 2020 10:51 PM 0 127 Apr 30, 2020 10:51 PM
Last Post: MTSW
[VPN] by QismonMay 21, 2018 08:19 AM 2 258 May 21, 2018 08:19 AM
Last Post: Qismon
by LucridJan 1, 2018 10:19 PM 3 167 Jan 1, 2018 10:19 PM
Last Post: SnoWHAX