2013-12-17

Installing OpenVPN in CentOS


Pranaam to all bhai ji _/\_
Today we will learn , how to install openvpn VPN (Virtual private network ) in CentOS

First of all we need to download openvpn package from open vpn website
here is link
http://openvpn.net/index.php/access-server/download-openvpn-as-sw.html

select your openrating system from the listed OSs


i am going to install it on CentOS, so i am selecting centos
now we need to select package for our installed CentOS (mine is CentOS 6  32 bit)


click on link and download .rpm file (if you are using graphical user interface based OS)
if you are installing it on command line based serevr
then use wget command

for example , my CentOS version is 6 and hardware is 32 bit , so .rpm file link is
http://swupdate.openvpn.org/as/openvpn-as-2.0.2-CentOS6.i386.rpm
run command
wget   http://swupdate.openvpn.org/as/openvpn-as-2.0.2-CentOS6.i386.rpm
and it will download rpm file to server


after downloading , we will get .rpm file in current directory
to installing .rpm file , we use rpm command
rpm -i   package.rpm
here
 rpm is installer
i is for install
package.rpm is the rpm packge which we want to install


after installation , we will get 2 link for openVPN 1 is for admin and second for client
it will be like ,
 http://server_ip:943/admin (for admin)
 http://server_ip:943  (for client)

ok, now we need to setup password for openvpn admin panel , so that we can access admin area.
type this command to setup password for openvpn admin panel

passwd openvpn
and type password that you want to setup for openvpn admin area


after setting up password , go to url that openvpn showed during installaton of  rpm file
username will be openvpn
password is that you setup by using command passwd openvpn(in above step)
mine was http://10.0.2.15:943/admin


login to admin panel for further setup


click on "agree" button
and....... wot wot \ ^_^ /
here goes our admin panel for more settings :D


lo jhatkay ab >:D<

Thank you

Greetz to :- Guru ji Zero , code breaker ica, Aasim shaikh,Reborn, Raman kumar rana,INX_r0ot,Darkwolf indishell, Chinmay Pandya ,Silent poison India,Magnum sniper,Atul Dwivedi,ethicalnoob Indishell,Local root indishell,Irfninja indishell,Hardeep bhai,Mannu,Viki and AR AR bhai ji <3
Share this post

1 comments

:) :-) :)) =)) :( :-( :(( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ :-$ (b) (f) x-) (k) (h) (c) cheer

© 2009 Start With Linux | Mannu Linux
Designed by cyb3r.gladiat0r
Posts RSSComments RSS
Back to top